diff --git a/README.md b/README.md index fef5950..30a66f2 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ volumes: ### Watch Stream * Load up the example hls.js player in your browser: -http://localhost:8080/player/?url=http://localhost:8080/live/hello.m3u8 +http://localhost:8080/player.html?url=http://localhost:8080/live/hello.m3u8 * Or in Safari, VLC or any HLS player, open: ``` diff --git a/nginx-cuda.conf b/nginx-cuda.conf index c4570b1..ba6abc5 100644 --- a/nginx-cuda.conf +++ b/nginx-cuda.conf @@ -42,12 +42,15 @@ rtmp { http { root /www/static; + sendfile off; + tcp_nopush on; access_log /dev/stdout combined; - ssl_ciphers HIGH:!aNULL:!MD5; - ssl_protocols TLSv1 TLSv1.1 TLSv1.2; - ssl_session_cache shared:SSL:10m; - ssl_session_timeout 10m; + # Uncomment these lines to enable SSL. + # ssl_ciphers HIGH:!aNULL:!MD5; + # ssl_protocols TLSv1 TLSv1.1 TLSv1.2; + # ssl_session_cache shared:SSL:10m; + # ssl_session_timeout 10m; server { listen ${HTTP_PORT}; diff --git a/nginx.conf b/nginx.conf index e29b849..9797103 100644 --- a/nginx.conf +++ b/nginx.conf @@ -42,12 +42,15 @@ rtmp { http { root /www/static; + sendfile off; + tcp_nopush on; access_log /dev/stdout combined; - ssl_ciphers HIGH:!aNULL:!MD5; - ssl_protocols TLSv1 TLSv1.1 TLSv1.2; - ssl_session_cache shared:SSL:10m; - ssl_session_timeout 10m; + # Uncomment these lines to enable SSL. + # ssl_ciphers HIGH:!aNULL:!MD5; + # ssl_protocols TLSv1 TLSv1.1 TLSv1.2; + # ssl_session_cache shared:SSL:10m; + # ssl_session_timeout 10m; server { listen ${HTTP_PORT}; diff --git a/static/player/index.html b/static/player.html similarity index 100% rename from static/player/index.html rename to static/player.html