Update site.py

This commit is contained in:
Mr Chen
2024-11-25 02:53:55 +08:00
parent 9ab361604f
commit 43384f8ca4
+1 -1
View File
@@ -496,7 +496,7 @@ class sites(object):
if not mw.inArray(tmp, '443'):
listen = re.search(rep, conf).group()
if version.startswith('1.25'):
if version.startswith('1.25') or version.startswith('1.27'):
http_ssl = "\n\tlisten 443 ssl;"
http_ssl = http_ssl + "\n\tlisten [::]:443 ssl;"
http_ssl = http_ssl + "\n\tlisten 443 quic;"