From 938f22a4230ac79b730ec47d41454268267b804c Mon Sep 17 00:00:00 2001 From: Marcos Reifonas Date: Thu, 13 Aug 2026 20:07:11 +0000 Subject: [PATCH] fix(nginx): remove index.html caching to prevent blank pages on new deploys --- nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/nginx.conf b/nginx.conf index 1cc18c6..9808e6b 100644 --- a/nginx.conf +++ b/nginx.conf @@ -50,6 +50,7 @@ server { # Qualquer rota que não corresponda a um arquivo redireciona pro index.html location / { try_files $uri $uri/ /index.html; + add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"; } # ---- Bloquear acesso a arquivos sensíveis ----