Update site.py

This commit is contained in:
dami 2026-04-03 00:45:37 +08:00
parent 3e96586c8e
commit de29c766b3
1 changed files with 1 additions and 0 deletions

View File

@ -559,6 +559,7 @@ class sites(object):
http_ssl = http_ssl + "\n\thttp2 on;"
if mw.isSupportHttp3(version):
http_ssl = "\n\tlisten 443 ssl reuseport;"
http_ssl = http_ssl + "\n\thttp3 on;"
conf = conf.replace(listen, listen + http_ssl)