From 563cf7def8184ea5ff8f786da53ea84fa37960b2 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Tue, 27 May 2025 15:01:09 +0200 Subject: [PATCH 1/3] more explicit disabled cache for /console route in nginx config --- docker/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/nginx.conf b/docker/nginx.conf index 38eb1d96a..8b75d6404 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -26,6 +26,10 @@ server { location /console { index index.html index.html; try_files $uri /console/index.html; + + expires 0; + add_header Cache-Control "no-cache, must-revalidate"; + add_header Pragma no-cache; } location / { From 1ca27a624434907abb6f34b400c5f0bb0f43bcab Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Tue, 27 May 2025 15:04:22 +0200 Subject: [PATCH 2/3] Update cache headers in nginx config Change Cache-Control to "no-store" and add quotes to Pragma value for more consistent cache prevention. --- docker/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/nginx.conf b/docker/nginx.conf index 8b75d6404..0aba86e84 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -28,8 +28,8 @@ server { try_files $uri /console/index.html; expires 0; - add_header Cache-Control "no-cache, must-revalidate"; - add_header Pragma no-cache; + add_header Cache-Control "no-store"; + add_header Pragma "no-cache"; } location / { From 680b4eecffe41cc19579b199bb4d7d9ff3190c2b Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Tue, 27 May 2025 15:15:13 +0200 Subject: [PATCH 3/3] Update docker/nginx.conf Co-authored-by: Fabian Gruber <1951610+basert@users.noreply.github.com> --- docker/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nginx.conf b/docker/nginx.conf index 0aba86e84..bf73682fe 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -28,7 +28,7 @@ server { try_files $uri /console/index.html; expires 0; - add_header Cache-Control "no-store"; + add_header Cache-Control "no-cache, no-store"; add_header Pragma "no-cache"; }