ServerStatus-Hotaru icon indicating copy to clipboard operation
ServerStatus-Hotaru copied to clipboard

能打开网页不显示服务器信息

Open haohaoget opened this issue 3 years ago • 3 comments

在干净环境下安装配置好后服务端能获取客户端信息/usr/local/ServerStatus/web/json/stats.json

web文件夹未改动,能打开网页但不显示stats.json中的服务器信息是怎么回事啊?

haohaoget avatar Sep 29 '21 12:09 haohaoget

看看 F12 控制台有什么错误?

cokemine avatar Sep 29 '21 13:09 cokemine

image 下面是是Nginx的配置: location ^~ /tz { alias /usr/local/ServerStatus/web; index index.html; }

haohaoget avatar Sep 30 '21 12:09 haohaoget

你的 alias 配置的不对。 alias 路径最后强制要有/

cokemine avatar Sep 30 '21 14:09 cokemine