how to install nginx rtmp monitoring dashboard
fstv-monitoring
real-time monitoring dashboard for nginx rtmp module
How to install
first you must installed @nginx-rtmp-module
and you need to install nodejs , npm and git .
- open nginx config file and add at http -> server section put this code
location /stat { rtmp_stat all; rtmp_stat_stylesheet stat.xsl; } location /stat.xsl { root html; } location /control { rtmp_control all; # Enable CORS add_header Access-Control-Allow-Origin * always; }
- move stat.xsl file to main html folder of ningx
- go to your home folder in your server
- cd to nginx-rtmp-monitoring folder run :npm install
- start nodejs servernode server.js
- open your borwser
- to login go to : http://your-server-ip-address:9991/login?username=admin&password=123123
- then open dashboard go to : http://your-server-ip-address:9991/
- if want to logout go to : http://your-server-ip-address:9991/logout
Note // please change username , session secret and password from config.json
source code is here : https://github.com/fiftysoft/nginx-rtmp-monitoring
Comments
Is it possible to install in different server?
ozane (-at-) gmx.com
Oh we have trubole! Please wait a little bit or contact technical support.] ho to fix the error?????
Post a Comment