From cf1827c1116c1c6d380fd10352e1305e7a86e5ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Thu, 26 Mar 2026 10:20:46 +0100 Subject: [PATCH] fix echart --- deploy/nginx/default.conf | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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; }