Update site.py

This commit is contained in:
dami 2026-04-03 14:08:08 +08:00
parent 28bb578170
commit cd1885477d
1 changed files with 2 additions and 2 deletions

View File

@ -562,8 +562,8 @@ class sites(object):
http_ssl = http_ssl + "\n\thttp3 on;"
http_ssl = http_ssl + "\n\thttp2 on;"
else:
http_ssl = "\n\tlisten 443 ssl thttp2;"
http_ssl = http_ssl + "\n\tlisten [::]:443 ssl thttp2;"
http_ssl = "\n\tlisten 443 ssl http2;"
http_ssl = http_ssl + "\n\tlisten [::]:443 ssl http2;"
conf = conf.replace(listen, listen + http_ssl)
mw.backFile(file)