diff --git a/6.Nginx/vhost_streaming.conf b/6.Nginx/vhost_streaming.conf index c2f6ce3fd48d8bf05d8944a89ceb5197270d5f5a..0f2d68e60c2a6b0230a9cfeaff1660cb5c670d50 100644 --- a/6.Nginx/vhost_streaming.conf +++ b/6.Nginx/vhost_streaming.conf @@ -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;