fix: Do not set no-store on index page (#1377)

This commit is contained in:
Kroese
2026-08-14 14:02:07 +02:00
committed by GitHub
parent d5bb90f012
commit 1917eae0ae
2 changed files with 2 additions and 8 deletions
-8
View File
@@ -25,18 +25,10 @@ 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 / {