Nginx Stat 状态监听配置
-
已安装nginx 1.7.11.3 Gryphon后
-
下载服务器状态检查程序 stat.xsl
-
编写nginx.conf
-
修改Http服务
-
location /stat{ rtmp_stat all; rtmp_stat_stylesheet stat.xsl; } location /stat.xsl{ root ./nginx-rtmp-module; }
-
**注意 **:./nginx-rtmp-module 是 安装目录下有的文件,如果名字有差别需要改正
-
-
-
把sta.xsl复制到./nginx-rtmp-module下
-
重启Nginx
-
验证
- http://127.0.0.1:{端口号}/stats
-