mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update site_api.py
This commit is contained in:
@@ -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,))
|
||||
|
||||
Reference in New Issue
Block a user