Nginx fix

This commit is contained in:
Aodhan
2025-07-08 23:21:34 +01:00
parent 90069ebc56
commit 9f5c2d24a6

View File

@@ -8,7 +8,8 @@ server {
# Forward API requests to backend
location /api/ {
proxy_pass http://api:8000/;
# Preserve the full path after /api when forwarding
proxy_pass http://api:8000$request_uri;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;