Update site_api.py

pull/546/head
Mr Chen 1 year ago
parent 1439d4edf6
commit 15dc4ae7cf
  1. 6
      class/core/site_api.py

@ -2816,9 +2816,9 @@ location ^~ {from} {\n\
if version == '1.25.3.1':
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\tlisten [::]:443 ssl;"
http_ssl = http_ssl + "\n\tlisten 443 quic;#reuseport"
http_ssl = http_ssl + "\n\tlisten [::]:443 quic;#reuseport"
http_ssl = http_ssl + "\n\thttp2 on;"
else:
http_ssl = "\n\tlisten 443 ssl http2;"

Loading…
Cancel
Save