blenders commited on
Commit
005d41d
·
1 Parent(s): 6ac70ea
Files changed (1) hide show
  1. nginx.conf +6 -6
nginx.conf CHANGED
@@ -71,24 +71,24 @@ http {
71
  index index.html;
72
  }
73
 
74
- location /hls/ {
75
- root /tmp/nginx/html/media/;
76
  types { application/vnd.apple.mpegurl m3u8; video/mp2t ts; }
77
  add_header Cache-Control no-cache;
78
  add_header Access-Control-Allow-Origin *;
79
  autoindex on;
80
  }
81
 
82
- location /rhls/ {
83
- root /tmp/nginx/html/media/;
84
  types { application/vnd.apple.mpegurl m3u8; video/mp2t ts; }
85
  add_header Cache-Control no-cache;
86
  add_header Access-Control-Allow-Origin *;
87
  autoindex on;
88
  }
89
 
90
- location /recordings/ {
91
- root /tmp/nginx/html/media/recordings/;
92
  add_header Cache-Control no-cache;
93
  autoindex on;
94
  }
 
71
  index index.html;
72
  }
73
 
74
+ location /hls {
75
+ root /tmp/nginx/html/media;
76
  types { application/vnd.apple.mpegurl m3u8; video/mp2t ts; }
77
  add_header Cache-Control no-cache;
78
  add_header Access-Control-Allow-Origin *;
79
  autoindex on;
80
  }
81
 
82
+ location /rhls {
83
+ root /tmp/nginx/html/media;
84
  types { application/vnd.apple.mpegurl m3u8; video/mp2t ts; }
85
  add_header Cache-Control no-cache;
86
  add_header Access-Control-Allow-Origin *;
87
  autoindex on;
88
  }
89
 
90
+ location /recordings {
91
+ root /tmp/nginx/html/media;
92
  add_header Cache-Control no-cache;
93
  autoindex on;
94
  }