From bef65c28251258ee6814d4f1f33b3e42d88c0e82 Mon Sep 17 00:00:00 2001 From: Eidenz Date: Tue, 25 Jun 2024 11:51:47 +0200 Subject: [PATCH] fix: cache issues --- conf.d/default.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf.d/default.conf b/conf.d/default.conf index 7658041..e3388ef 100644 --- a/conf.d/default.conf +++ b/conf.d/default.conf @@ -6,6 +6,10 @@ server { add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization' always; add_header 'Access-Control-Allow-Credentials' 'true' always; + add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, max-age=0' always; + add_header 'Pragma' 'no-cache' always; + add_header 'Expires' '0' always; + location / { root /usr/share/nginx/html; index index.html;