Update site_api.py

This commit is contained in:
Mr Chen
2024-04-17 17:38:08 +08:00
parent d926a69b59
commit b6e1f46379
+2
View File
@@ -763,6 +763,8 @@ class site_api:
conf = re.sub(rep, '', conf)
rep = "\s+listen\s+\[\:\:\]\:443.*;"
conf = re.sub(rep, '', conf)
rep = "\s+http2\s+on;"
conf = re.sub(rep, '', conf)
mw.writeFile(file, conf)
msg = mw.getInfo('网站[{1}]关闭SSL成功!', (siteName,))