From 6801ea2eea506cdaa4c082250cfa3cd923a8abad Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 16 Nov 2022 18:21:41 +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 0d7d933e0..2a9fd3230 100755 --- a/class/core/site_api.py +++ b/class/core/site_api.py @@ -2413,7 +2413,7 @@ location ^~ {from} { if not mw.inArray(tmp, '443'): listen = re.search(rep, conf).group() http_ssl = "\n\tlisten 443 ssl http2;" - http_ssl = http_ssl + "\n\t[::]:443 ssl http2;" + http_ssl = http_ssl + "\n\ttlisten [::]:443 ssl http2;" conf = conf.replace(listen, listen + http_ssl) mw.backFile(file)