Update site_api.py

pull/544/head
Mr Chen 1 year ago
parent d6a816b06e
commit 1439d4edf6
  1. 8
      class/core/site_api.py

@ -2815,10 +2815,10 @@ location ^~ {from} {\n\
listen = re.search(rep, conf).group()
if version == '1.25.3.1':
http_ssl = "\n\tlisten 443 ssl reuseport;"
http_ssl = http_ssl + "\n\tlisten [::]:443 ssl reuseport;"
http_ssl = http_ssl + "\n\tlisten 443 quic reuseport;"
http_ssl = http_ssl + "\n\tlisten [::]:443 quic reuseport;"
http_ssl = "\n\tlisten 443 ssl;"
http_ssl = http_ssl + "\n\tlisten [::]:443 ssl;#reuseport"
http_ssl = http_ssl + "\n\tlisten 443 quic;"
http_ssl = http_ssl + "\n\tlisten [::]:443 quic;"
http_ssl = http_ssl + "\n\thttp2 on;"
else:
http_ssl = "\n\tlisten 443 ssl http2;"

Loading…
Cancel
Save