Skip to content
Snippets Groups Projects
Commit d8797156 authored by Florent Thiery's avatar Florent Thiery
Browse files

fix vhost (caused bufferings)

parent 1706bf5a
No related branches found
No related tags found
No related merge requests found
......@@ -22,9 +22,6 @@ server {
location ~ \.m3u8$ {
rewrite ^/(.*)$ /$1? break;
proxy_pass http://localhost:1935;
add_header Access-Control-Allow-Origin "*";
add_header X-Cache $upstream_cache_status;
expires -1;
proxy_cache livecache;
proxy_cache_key $scheme$proxy_host$uri;
proxy_cache_lock on;
......@@ -35,9 +32,6 @@ server {
location ~ \.ts$ {
rewrite ^/(.*)$ /$1? break;
proxy_pass http://localhost:1935;
add_header Access-Control-Allow-Origin "*";
add_header X-Cache $upstream_cache_status;
expires 2s;
proxy_cache livecache;
proxy_cache_key $scheme$proxy_host$uri;
proxy_cache_lock on;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment