Update site.py
This commit is contained in:
parent
023a5b75b4
commit
87c5dd5fa7
|
|
@ -1928,6 +1928,8 @@ location ^~ {from} {\n\
|
|||
conf = mw.readFile(path)
|
||||
rep = r"listen\s+80.+;"
|
||||
conf = re.sub(rep, 'listen 80;', conf, 1)
|
||||
rep = r"listen\s+\[\:\:\]\:80.+;"
|
||||
conf = re.sub(rep, 'listen [::]:80;', conf, 1)
|
||||
rep = r"listen\s+443.+;"
|
||||
conf = re.sub(rep, 'listen 443 ssl;', conf, 1)
|
||||
rep = r"listen\s+443\s+quic.+;"
|
||||
|
|
|
|||
Loading…
Reference in New Issue