From 43384f8ca41621b3f1bfae844b115ea879940133 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 25 Nov 2024 02:53:55 +0800 Subject: [PATCH] Update site.py --- web/utils/site.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/utils/site.py b/web/utils/site.py index 2ed4a2226..4d3c3269b 100644 --- a/web/utils/site.py +++ b/web/utils/site.py @@ -496,7 +496,7 @@ class sites(object): if not mw.inArray(tmp, '443'): listen = re.search(rep, conf).group() - if version.startswith('1.25'): + 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;"