diff --git a/2.Common_services/5.Nginx/vhost_mediaserver-msuser.conf b/2.Common_services/5.Nginx/vhost_mediaserver-msuser.conf index 3e3a31b6ba6c557f0f799cc515dc2165e53fac44..c888525b66396f62832723cf042899e51fa7b103 100644 --- a/2.Common_services/5.Nginx/vhost_mediaserver-msuser.conf +++ b/2.Common_services/5.Nginx/vhost_mediaserver-msuser.conf @@ -43,6 +43,11 @@ server { add_header Pragma public; add_header Cache-Control "public"; } + location /robots { + expires 30d; + add_header Pragma public; + add_header Cache-Control "public"; + } location /resources { location ~ \.ts$ { } diff --git a/2.Common_services/5.Nginx/vhost_msmonitor.conf b/2.Common_services/5.Nginx/vhost_msmonitor.conf index 5ffc7e4969a038496cd4cf6cb60413ca4df6a7e7..a5f2ff72952b69db7d879fa67280126b5fcb4358 100644 --- a/2.Common_services/5.Nginx/vhost_msmonitor.conf +++ b/2.Common_services/5.Nginx/vhost_msmonitor.conf @@ -23,6 +23,8 @@ server { } location /static { } + location /robots { + } location /wowza-manager/ { proxy_pass http://localhost:8088/; proxy_set_header X-Forwarded-Host $host; diff --git a/2.Common_services/5.Nginx/vhost_skyreach.conf b/2.Common_services/5.Nginx/vhost_skyreach.conf index ddaeb51a76ad8450a63309914ea15a560b3ee8be..d6f32ebade2f160fc65b8962ffd2ea4378782304 100644 --- a/2.Common_services/5.Nginx/vhost_skyreach.conf +++ b/2.Common_services/5.Nginx/vhost_skyreach.conf @@ -31,6 +31,12 @@ server { add_header Pragma public; add_header Cache-Control "public"; } + location /robots.txt { + alias /home/skyreach/htdocs/skyreach_site/static/robots.txt; + expires 30d; + add_header Pragma public; + add_header Cache-Control "public"; + } location /remote-event/ { proxy_pass http://127.0.0.1:6586/;