Update site.py

pull/632/head
Mr Chen 6 months ago
parent 06bdad4ab0
commit 3f0f219896
  1. 6
      web/utils/site.py

@ -1472,7 +1472,11 @@ location ^~ {from} {\n\
proxy_txt = "{}/{}/{}.conf.txt".format(self.proxyPath, site_name, proxy_id)
if os.path.exists(proxy_conf):
mw.execShell('mv ' + proxy_txt + ' ' + proxy_conf)
self.close_proxy = []
if len(self.close_proxy) > 0:
mw.restartWeb()
self.close_proxy = []
return True

Loading…
Cancel
Save