mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update mw.py
This commit is contained in:
@@ -1293,6 +1293,14 @@ def checkDomainPanel():
|
||||
|
||||
scheme = 'http'
|
||||
|
||||
local_ssl = mw.getRunDir()+'/ssl/local'
|
||||
choose_file = mw.getRunDir()+'/ssl/choose.pl'
|
||||
if os.path.exists(choose_file):
|
||||
choose = readFile(choose_file).strip()
|
||||
if choose == 'local':
|
||||
scheme == 'https'
|
||||
|
||||
|
||||
# print(port)
|
||||
npid = getServerDir() + "/openresty/nginx/logs/nginx.pid"
|
||||
if not os.path.exists(npid):
|
||||
|
||||
Reference in New Issue
Block a user