From 167977a3d1bb56aed8dbc0efabf97591268a0b0f Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 23 Jul 2024 00:50:01 +0800 Subject: [PATCH] Update site_api.py --- class/core/site_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/core/site_api.py b/class/core/site_api.py index 45ee3111b..43de66d87 100755 --- a/class/core/site_api.py +++ b/class/core/site_api.py @@ -2825,7 +2825,7 @@ location ^~ {from} {\n\ if not mw.inArray(tmp, '443'): listen = re.search(rep, conf).group() - if version == '1.25.3.1': + if version.startswith('1.25'): http_ssl = "\n\tlisten 443 ssl;" http_ssl = http_ssl + "\n\tlisten [::]:443 ssl;" http_ssl = http_ssl + "\n\tlisten 443 quic;"