JasonRivers / Docker-nginx-rtmp

Docker Image for RTMP streams using Nginx
180 stars 114 forks source link

Nothing on stat page #3

Closed chengdanhao closed 6 years ago

chengdanhao commented 7 years ago

I run the docker with command docker run –rm -it -h docker -p 80:8080 -p 1935:1935 jasonrivers/nginx-rtmp

When I visit http://localhost/stat,it show a blank page without anything.

I read the nginx.conf, file /opt/nginx/conf/stat.xsl doesn't exist.

Anyone can tell me the reason?

cam-smith commented 6 years ago

right click->view source it's a xml file, and by default chrome renders the xml as an empty page

JasonRivers commented 6 years ago

solution by @cam-smith