Update site.py

pull/865/head
dami 20 hours ago
parent 8a03d1c704
commit e5be78e832
  1. 2
      web/utils/site.py

@ -554,7 +554,7 @@ class sites(object):
tmp = re.findall(rep, conf)
if not mw.inArray(tmp, '443'):
listen = re.search(rep, conf).group()
http_ssl = "listen 443 ssl;"
http_ssl = "\n\tlisten 443 ssl;"
http_ssl = http_ssl + "\n\tlisten [::]:443 ssl;"
if mw.isSupportHttp3(version):
http_ssl = http_ssl + "\n\tlisten 443 quic reuseport;"

Loading…
Cancel
Save