fix: Prevent caching of web root (#1375)

This commit is contained in:
Kroese
2026-08-13 07:00:48 +02:00
committed by GitHub
parent 03993aa773
commit d854ae811c
+8
View File
@@ -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 / {