From 9a9d97d482d43c5eb16b8764b8f0dcb55e718e30 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 16 Nov 2022 18:19:46 +0800 Subject: [PATCH] Update site_api.py --- class/core/site_api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/class/core/site_api.py b/class/core/site_api.py index 37ecbe43b..0d7d933e0 100755 --- a/class/core/site_api.py +++ b/class/core/site_api.py @@ -2413,9 +2413,8 @@ 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;" conf = conf.replace(listen, listen + http_ssl) - http_ipv6_ssl = "\n\t[::]:443 ssl http2;" - conf = conf.replace(listen, listen + http_ipv6_ssl) mw.backFile(file)