|
|
|
@ -9,8 +9,6 @@ server { |
|
|
|
|
allow 172.16.0.0/16; |
|
|
|
|
deny all; |
|
|
|
|
|
|
|
|
|
#add_header Content-Security-Policy "default-src 'self';style-src 'self' 'unsafe-inline';script-src 'self' 'unsafe-inline';worker-src 'self' blob:; font-src 'self';connect-src 'self' ws://1xrifkakfwgg7z43ydm6cgsfnwb7ks7rwhcjpatk98d694y4g5go.loki; frame-src http://81hud3kcymyqhw7dnxxcr3ffrmhg9ndf3te61xcxnp971rise4eo.loki;" always; |
|
|
|
|
|
|
|
|
|
location /hls/ { |
|
|
|
|
types { application/vnd.apple.mpegurl m3u8; video/mp2t ts; } |
|
|
|
|
root /tmp/; |
|
|
|
@ -24,7 +22,12 @@ server { |
|
|
|
|
location /stat.html { |
|
|
|
|
rtmp_stat all; |
|
|
|
|
rtmp_stat_stylesheet /stat.xsl; |
|
|
|
|
add_header Refresh "3; $request_uri"; |
|
|
|
|
add_header Refresh "60; $request_uri"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
location /viewers.html { |
|
|
|
|
root /var/www/stream/; |
|
|
|
|
add_header Refresh "60; $request_uri"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
location /stat.xsl { |
|
|
|
|