diff --git a/7.Nginx/vhost_mediaserver-msuser.conf b/7.Nginx/vhost_mediaserver-msuser.conf index 858dc262113b0509c592720452089c15c687e482..6460466d0ce2b60e0b9a66f02294bfdb0ecf5d02 100644 --- a/7.Nginx/vhost_mediaserver-msuser.conf +++ b/7.Nginx/vhost_mediaserver-msuser.conf @@ -24,6 +24,9 @@ server { error_log /var/log/nginx/error_msuser.log; location /public { + expires 30d; + add_header Pragma public; + add_header Cache-Control "public"; } location /resources { location ~ \.ts$ { @@ -42,8 +45,14 @@ server { } } location /static { + expires 30d; + add_header Pragma public; + add_header Cache-Control "public"; } location /crossdomain { + expires 30d; + add_header Pragma public; + add_header Cache-Control "public"; } location /streaming/ { proxy_pass http://localhost:1935/live/;