bake build infra: nginx.conf (deterministic /ship for forks)

This commit is contained in:
2026-08-21 22:28:42 +00:00
parent f32b94a55e
commit 5786500089
+17
View File
@@ -0,0 +1,17 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# SPA fallback — client-side routing (react-router BrowserRouter)
location / {
try_files $uri $uri/ /index.html;
}
# Long-cache hashed assets
location /assets/ {
expires 1y;
add_header Cache-Control "public, immutable";
}
}