merge new_starr_app@qas history into apps/web

git-subtree-dir: apps/web
git-subtree-mainline: eaa6d2276a
git-subtree-split: 459af9d46a
This commit is contained in:
2026-08-24 12:21:16 +08:00
699 changed files with 103969 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# SPA fallback — all unknown paths go to index.html
location / {
try_files $uri $uri/ /index.html;
}
# Cache hashed assets aggressively
location ~* \.(js|css|woff2?|ttf|svg|ico|png|jpg|jpeg|webp|gif)$ {
expires 1y;
add_header Cache-Control "public, immutable";
}
# No caching for index.html so users always get the latest shell
location = /index.html {
add_header Cache-Control "no-cache, no-store, must-revalidate";
}
}