fix(nginx): remove index.html caching to prevent blank pages on new deploys
This commit is contained in:
@@ -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 ----
|
||||
|
||||
Reference in New Issue
Block a user