This commit is contained in:
Bastian Wagner
2025-12-19 11:18:53 +01:00
commit 5a08e2319f
48 changed files with 23098 additions and 0 deletions

20
nginx.conf Normal file
View File

@@ -0,0 +1,20 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# API reverse proxy
location /api/ {
proxy_pass http://127.0.0.1:3000/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
# Angular SPA fallback
location / {
try_files $uri $uri/ /index.html;
}
}