Update site.py

This commit is contained in:
dami
2026-04-03 00:39:50 +08:00
parent 7eac6cadb0
commit 3e96586c8e
+2
View File
@@ -2111,6 +2111,8 @@ location ^~ {from} {\n\
conf = re.sub(rep, '', conf)
rep = r"\s+http2\s+on;"
conf = re.sub(rep, '', conf)
rep = r"\s+http3\s+on;"
conf = re.sub(rep, '', conf)
mw.writeFile(file, conf)
msg = mw.getInfo('网站[{1}]关闭SSL成功!', (site_name,))