Update site_api.py

pull/620/head
Mr Chen 10 months ago
parent bc876232f9
commit 167977a3d1
  1. 2
      class/core/site_api.py

@ -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;"

Loading…
Cancel
Save