···44 index index.html;
5566 # SPA fallback — serve index.html for all routes that don't match a file.
77+ # no-cache ensures the browser revalidates on every visit so users never
88+ # see stale HTML after OAuth redirects or deploys.
79 location / {
1010+ add_header Cache-Control "no-cache" always;
811 try_files $uri $uri/ /index.html;
99- }
1010-1111- # index.html must always be revalidated so browsers pick up new bundles.
1212- location = /index.html {
1313- add_header Cache-Control "no-cache";
1412 }
15131614 # Hashed assets from Vite never change — cache them aggressively.