Update site.py

pull/632/head
Mr Chen 5 months ago
parent c3241a5c17
commit 61d90ef8e7
  1. 4
      web/utils/site.py

@ -548,8 +548,8 @@ class sites(object):
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;"
http_ssl = http_ssl + "\n\tlisten [::]:443 quic;"
http_ssl = http_ssl + "\n\tlisten 443;"
http_ssl = http_ssl + "\n\tlisten [::]:443;"
http_ssl = http_ssl + "\n\thttp2 on;"
else:
http_ssl = "\n\tlisten 443 ssl;"

Loading…
Cancel
Save