mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update site.py
This commit is contained in:
+1
-1
@@ -554,7 +554,7 @@ class sites(object):
|
|||||||
tmp = re.findall(rep, conf)
|
tmp = re.findall(rep, conf)
|
||||||
if not mw.inArray(tmp, '443'):
|
if not mw.inArray(tmp, '443'):
|
||||||
listen = re.search(rep, conf).group()
|
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;"
|
http_ssl = http_ssl + "\n\tlisten [::]:443 ssl;"
|
||||||
if mw.isSupportHttp3(version):
|
if mw.isSupportHttp3(version):
|
||||||
http_ssl = http_ssl + "\n\tlisten 443 quic reuseport;"
|
http_ssl = http_ssl + "\n\tlisten 443 quic reuseport;"
|
||||||
|
|||||||
Reference in New Issue
Block a user