fix: Prevent caching of web status (#1370)

This commit is contained in:
Kroese
2026-08-10 23:47:43 +02:00
committed by GitHub
parent c5eae88dfc
commit 9fe52c874e
+7 -1
View File
@@ -23,7 +23,13 @@ server {
gzip_disable "msie6";
gzip_types text/css text/javascript text/xml text/plain text/x-component application/javascript application/json application/xml application/rss+xml font/truetype font/opentype application/vnd.ms-fontobject image/svg+xml;
add_header Cache-Control "no-cache";
set $cache_control "no-cache";
if ($request_uri ~ "^/(?:msg\.html)?(?:\?.*)?$") {
set $cache_control "no-store";
}
add_header Cache-Control $cache_control always;
location / {