From 6db6d2822e641507ad082238ed023f48d2fd195c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Thu, 26 Mar 2026 10:30:29 +0100 Subject: [PATCH] fix echart --- frontend/nginx.conf | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 22a5b39..8090945 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -19,9 +19,7 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr; - 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 = /health { @@ -31,22 +29,16 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr; - 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 = /index.html { - 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; try_files $uri =404; } location / { - 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; try_files $uri $uri/ /index.html; } }