Files
damascus-dashboard/nginx.conf
root aec9d2a544
Some checks failed
CI / Test (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / Docker Build Check (push) Has been cancelled
CI / Lint (push) Has been cancelled
chore(dashboard): build workarounds + deploy config
(damascus-dashboard is archived on Gitea; this is a local-only commit
that documents the build workarounds and deploy files in tree.)
2026-06-27 16:44:15 +00:00

22 lines
484 B
Nginx Configuration File

server {
listen 80;
server_name dashboard.hermes.damascusfront.net;
# Static files
root /usr/share/nginx/html;
index index.html;
# SPA fallback
location / {
try_files $uri $uri/ /index.html;
}
# Proxy API calls to v3 API server on host
location /api/ {
proxy_pass http://host.docker.internal:5170/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}