feat: complete blackwood nginx config with SPA routing and caching
Test nginx configuration / Static Analysis (push) Failing after 4s
Test nginx configuration / nginx Syntax Check (push) Successful in 16s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 2m37s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 19:27:05 -07:00
committed by Naomi Carrigan
parent 1cfae51620
commit 7e1929f308
+26
View File
@@ -20,6 +20,32 @@ server {
}
}
server {
listen 443 ssl;
server_name blackwood.nhcarrigan.com;
ssl_certificate /etc/letsencrypt/live/blackwood.nhcarrigan.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/blackwood.nhcarrigan.com/privkey.pem;
root /home/naomi/blackwood/dist;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location /assets/ {
expires max;
add_header Cache-Control "public, immutable";
access_log off;
}
location ~* \.(mp3|png|gif|ico|svg|webp)$ {
expires 30d;
add_header Cache-Control "public";
access_log off;
}
}
server {
listen 443 ssl;
server_name games.nhcarrigan.com;