From 87c5dd5fa73452d8bfeebababb085699833ea30c Mon Sep 17 00:00:00 2001 From: dami Date: Fri, 3 Apr 2026 01:48:15 +0800 Subject: [PATCH] Update site.py --- web/utils/site.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/utils/site.py b/web/utils/site.py index 745051d43..de831850a 100644 --- a/web/utils/site.py +++ b/web/utils/site.py @@ -1928,6 +1928,8 @@ location ^~ {from} {\n\ conf = mw.readFile(path) rep = r"listen\s+80.+;" conf = re.sub(rep, 'listen 80;', conf, 1) + rep = r"listen\s+\[\:\:\]\:80.+;" + conf = re.sub(rep, 'listen [::]:80;', conf, 1) rep = r"listen\s+443.+;" conf = re.sub(rep, 'listen 443 ssl;', conf, 1) rep = r"listen\s+443\s+quic.+;"