Update site_api.py

This commit is contained in:
Mr Chen
2024-07-23 00:50:01 +08:00
parent bc876232f9
commit 167977a3d1
+1 -1
View File
@@ -2825,7 +2825,7 @@ location ^~ {from} {\n\
if not mw.inArray(tmp, '443'):
listen = re.search(rep, conf).group()
if version == '1.25.3.1':
if version.startswith('1.25'):
http_ssl = "\n\tlisten 443 ssl;"
http_ssl = http_ssl + "\n\tlisten [::]:443 ssl;"
http_ssl = http_ssl + "\n\tlisten 443 quic;"