diff --git a/2.Common_services/5.Nginx/vhost_mediaserver-msuser.conf b/2.Common_services/5.Nginx/vhost_mediaserver-msuser.conf index 3461de3f42a4592934532002ac2f1c6b19f8fd07..b9ecefc7fe8505ee6b643b606a8232a7c2aa0509 100644 --- a/2.Common_services/5.Nginx/vhost_mediaserver-msuser.conf +++ b/2.Common_services/5.Nginx/vhost_mediaserver-msuser.conf @@ -57,14 +57,14 @@ server { location /streaming/ { rewrite ^/streaming/(.*)$ /live/$1? break; proxy_pass http://localhost:1935; - proxy_cache livecache; - # do not consider secure urls as new files - proxy_cache_key $scheme$proxy_host$uri; - # only one request at a time will be allowed to populate a new cache element - proxy_cache_lock on; - # show if playlist or fragment has been cached from wowza - add_header X-Cache $upstream_cache_status; - # wowza is defining expiration headers (m3u8 is 1s, ts is 3600) + proxy_cache livecache; + # do not consider secure urls as new files + proxy_cache_key $scheme$proxy_host$uri; + # only one request at a time will be allowed to populate a new cache element + proxy_cache_lock on; + # show if playlist or fragment has been cached from wowza + add_header X-Cache $upstream_cache_status; + # wowza is defining expiration headers (m3u8 is 1s, ts is 3600) } location / { uwsgi_pass unix:///home/msuser/mstmp/uwsgi.sock;