bugfix inlog problem

This commit is contained in:
2026-04-17 15:45:24 +02:00
parent f2d10d0b26
commit 7fa6d250e5
6 changed files with 32 additions and 5 deletions

View File

@@ -14,6 +14,16 @@ server {
try_files $uri =404;
}
# Proxy API-calls naar de backend
location /api/ {
proxy_pass http://backend:3001;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# SPA fallback stuur alle routes naar index.html
location / {
try_files $uri $uri/ /index.html;