Initial commit

This commit is contained in:
hantim
2026-03-16 21:09:59 -04:00
commit a8a215558b
5 changed files with 67 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
server {
listen 80;
root /usr/share/nginx/html;
index index.html;
# Clean URLs — serve index.html for directories
location / {
try_files $uri $uri/ /index.html;
}
# Cache static assets aggressively
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff2)$ {
expires 1y;
add_header Cache-Control "public, immutable";
}
}