diff --git a/deploy/docker/templates/nginx/nginx-app-http.conf.template.sh b/deploy/docker/templates/nginx/nginx-app-http.conf.template.sh index ac24c4ff7b..070dbe5287 100644 --- a/deploy/docker/templates/nginx/nginx-app-http.conf.template.sh +++ b/deploy/docker/templates/nginx/nginx-app-http.conf.template.sh @@ -76,7 +76,6 @@ server { # If the path has an extension at the end, then respond with 404 status if the file not found. location ~ ^/(?!supervisor/).*\.[a-z]+$ { try_files \$uri =404; - add_header Cache-Control "max-age=31104000, immutable"; # 360 days } location /api { diff --git a/deploy/docker/templates/nginx/nginx-app-https.conf.template.sh b/deploy/docker/templates/nginx/nginx-app-https.conf.template.sh index df415e1294..87dd877a78 100644 --- a/deploy/docker/templates/nginx/nginx-app-https.conf.template.sh +++ b/deploy/docker/templates/nginx/nginx-app-https.conf.template.sh @@ -93,7 +93,6 @@ server { # If the path has an extension at the end, then respond with 404 status if the file not found. location ~ ^/(?!supervisor/).*\.[a-z]+$ { try_files \$uri =404; - add_header Cache-Control "max-age=31104000, immutable"; # 360 days } location /api {