diff --git a/2.Common_services/5.Nginx/vhost_mediaserver-msuser.conf b/2.Common_services/5.Nginx/vhost_mediaserver-msuser.conf index 7ab18bf38ccbecf9f088a70ce05f65fe3b04a3a3..f520a32655b96a2e99f62558c450088b32d838e3 100644 --- a/2.Common_services/5.Nginx/vhost_mediaserver-msuser.conf +++ b/2.Common_services/5.Nginx/vhost_mediaserver-msuser.conf @@ -58,9 +58,6 @@ server { location ~ \.m3u8$ { rewrite ^/streaming/(.*)$ /live/$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; @@ -71,9 +68,6 @@ server { location ~ \.ts$ { rewrite ^/streaming/(.*)$ /live/$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;