fix: prevent stale Kanban script after deployment
All checks were successful
Build and deploy / Validate source (push) Successful in 7s
Build and deploy / Publish images and notify Portainer (push) Successful in 53s

This commit is contained in:
Cauê Faleiros
2026-09-18 14:27:33 -03:00
parent 4d707009ba
commit 88a2a6f060
2 changed files with 7 additions and 2 deletions

View File

@@ -32,5 +32,10 @@ server {
proxy_read_timeout 30s;
client_max_body_size 2m;
}
location / { try_files $uri $uri/ =404; }
# Always revalidate HTML/JS/CSS after a deployment. Without this, a browser
# can pair a new Kanban page with a cached older script after a rollout.
location / {
expires -1;
try_files $uri $uri/ =404;
}
}