Update site.py

pull/865/head
dami 21 hours ago
parent 023a5b75b4
commit 87c5dd5fa7
  1. 2
      web/utils/site.py

@ -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…
Cancel
Save