Skip to content

Commit 22c3bc9

Browse files
committed
Updating nginx configs and demo player location.
1 parent 97128e7 commit 22c3bc9

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ volumes:
6363

6464
### Watch Stream
6565
* Load up the example hls.js player in your browser:
66-
http://localhost:8080/player/?url=http://localhost:8080/live/hello.m3u8
66+
http://localhost:8080/player.html?url=http://localhost:8080/live/hello.m3u8
6767

6868
* Or in Safari, VLC or any HLS player, open:
6969
```

nginx-cuda.conf

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,15 @@ rtmp {
4242

4343
http {
4444
root /www/static;
45+
sendfile off;
46+
tcp_nopush on;
4547
access_log /dev/stdout combined;
4648

47-
ssl_ciphers HIGH:!aNULL:!MD5;
48-
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
49-
ssl_session_cache shared:SSL:10m;
50-
ssl_session_timeout 10m;
49+
# Uncomment these lines to enable SSL.
50+
# ssl_ciphers HIGH:!aNULL:!MD5;
51+
# ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
52+
# ssl_session_cache shared:SSL:10m;
53+
# ssl_session_timeout 10m;
5154

5255
server {
5356
listen ${HTTP_PORT};

nginx.conf

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,15 @@ rtmp {
4242

4343
http {
4444
root /www/static;
45+
sendfile off;
46+
tcp_nopush on;
4547
access_log /dev/stdout combined;
4648

47-
ssl_ciphers HIGH:!aNULL:!MD5;
48-
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
49-
ssl_session_cache shared:SSL:10m;
50-
ssl_session_timeout 10m;
49+
# Uncomment these lines to enable SSL.
50+
# ssl_ciphers HIGH:!aNULL:!MD5;
51+
# ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
52+
# ssl_session_cache shared:SSL:10m;
53+
# ssl_session_timeout 10m;
5154

5255
server {
5356
listen ${HTTP_PORT};
File renamed without changes.

0 commit comments

Comments
 (0)