Update site.py

pull/865/head
dami 20 hours ago
parent e50877ba5d
commit bbf4200b42
  1. 2
      web/utils/site.py

@ -1941,7 +1941,7 @@ location ^~ {from} {\n\
conf = re.sub(rep, 'listen 443 quic;', conf, 1)
rep = r"listen\s+\[\:\:\]\:443\s*default_server;"
conf = re.sub(rep, 'listen [::]:443 ssl;', conf, 1)
rep = r"listen\s+\[\:\:\]\:443\s+quic\s*default_server;"
rep = r"listen\s+\[\:\:\]\:443\s*quic\s*default_server;"
conf = re.sub(rep, 'listen [::]:443 quic;', conf, 1)
mw.writeFile(path, conf)

Loading…
Cancel
Save