diff --git a/index.html b/index.html index c207c94f..e13d5f07 100755 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - + Cohorta diff --git a/nginx.conf b/nginx.conf index 26e5df49..347c7077 100644 --- a/nginx.conf +++ b/nginx.conf @@ -17,9 +17,10 @@ server { return 502 "nginx should not serve /socket.io — check Traefik routing priorities"; } - # SPA fallback — all other paths serve index.html + # SPA fallback — all other paths serve index.html (never cached) location / { try_files $uri $uri/ /index.html; + add_header Cache-Control "no-cache, no-store, must-revalidate"; } # Cache static assets aggressively