diff --git a/deploy/nginx/default.conf b/deploy/nginx/default.conf index cd8964e..af93b42 100644 --- a/deploy/nginx/default.conf +++ b/deploy/nginx/default.conf @@ -10,9 +10,7 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; - add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate" always; - add_header Pragma "no-cache" always; - add_header Expires "0" always; + add_header Cache-Control "no-store, no-cache" always; } location /assets/ { @@ -32,8 +30,6 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; - add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate" always; - add_header Pragma "no-cache" always; - add_header Expires "0" always; - } + proxy_hide_header Etag; + add_header Cache-Control "no-store, no-cache" always; }