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
|
# Qualquer rota que não corresponda a um arquivo redireciona pro index.html
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.html;
|
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 ----
|
# ---- Bloquear acesso a arquivos sensíveis ----
|
||||||
|
|||||||
Reference in New Issue
Block a user