This commit is contained in:
midoks
2022-11-24 18:21:25 +08:00
parent 088b7425d7
commit 6ebcb8e005
3 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -107,7 +107,6 @@ venv.bak/
tmp/*
*.swp
*.zip
scripts/init.d/mw
logs/*
data/*.db
data/control.conf
@@ -132,7 +131,9 @@ include
share
pip-selfcheck.json
scripts/init.d/mw
scripts/mdserver-web
data/api_login.txt
data/sessions
data/ssl.pl
+1 -1
View File
@@ -300,7 +300,7 @@ def runInfo():
# 取Openresty负载状态
try:
url = 'http://127.0.0.1/nginx_status'
result = mw.httpGet(url)
result = mw.httpGet(url, timeout=1)
tmp = result.split()
data = {}
data['active'] = tmp[2]
+3 -3
View File
@@ -1,4 +1,4 @@
location / {
rewrite ^(.*)-htm-(.*)$ $1.php?$2 last;
rewrite ^(.*)/simple/([a-z0-9\_]+\.html)$ $1/simple/index.php?$2 last;
}
rewrite ^(.*)-htm-(.*)$ $1.php?$2 last;
rewrite ^(.*)/simple/([a-z0-9\_]+\.html)$ $1/simple/index.php?$2 last;
}