From ebfbe14a2bf83614a104f21d5f199ed8674a60ed Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 13 Aug 2026 06:59:07 +0200 Subject: [PATCH] fix: Prevent caching of web root --- web/conf/nginx.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web/conf/nginx.conf b/web/conf/nginx.conf index 18cc7cd2..04489226 100644 --- a/web/conf/nginx.conf +++ b/web/conf/nginx.conf @@ -25,10 +25,18 @@ server { set $cache_control "no-cache"; + if ($uri = /) { + set $cache_control "no-store"; + } + if ($uri = /msg.html) { set $cache_control "no-store"; } + if ($uri = /index.html) { + set $cache_control "no-store"; + } + add_header Cache-Control $cache_control always; location / {