Update site_api.py

pull/267/head
midoks 3 years ago
parent af74b1e5f7
commit 8f50e0365b
  1. 2
      class/core/site_api.py

@ -2214,8 +2214,6 @@ location ^~ {from} {
file = self.getHostConf(siteName)
conf = mw.readFile(file)
if conf:
if conf.find('HTTP_TO_HTTPS_START') != -1:
return True
if conf.find('$server_port !~ 443') != -1:
return True
return False

Loading…
Cancel
Save