Update index.py
This commit is contained in:
parent
2f98228310
commit
f67342fd7a
|
|
@ -400,6 +400,10 @@ def initdUinstall():
|
|||
|
||||
|
||||
def runInfo():
|
||||
op_status = status()
|
||||
if op_status == 'stop':
|
||||
return mw.returnJson(False, "未启动!")
|
||||
|
||||
# 取Openresty负载状态
|
||||
try:
|
||||
url = 'http://127.0.0.1/nginx_status'
|
||||
|
|
|
|||
Loading…
Reference in New Issue