refactor: restructure nginx config into per-app files #1

Merged
naomi merged 13 commits from feat/restructure into main 2026-03-07 02:05:29 -08:00
2 changed files with 25 additions and 0 deletions
Showing only changes of commit f433f3330a - Show all commits
+24
View File
@@ -0,0 +1,24 @@
# Elysium Vite SPA and Hono API backend.
server {
listen 443 ssl;
server_name elysium.nhcarrigan.com;
ssl_certificate /etc/letsencrypt/live/elysium.nhcarrigan.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/elysium.nhcarrigan.com/privkey.pem;
root /home/naomi/elysium/apps/web/dist;
location /api/ {
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:3898;
proxy_redirect off;
}
location / {
index index.html;
try_files $uri $uri/ /index.html;
}
location ~* \.(js|css)$ {
try_files $uri $uri/ @rewrite;
}
}
+1
View File
@@ -0,0 +1 @@
../sites-available/elysium.conf