This commit is contained in:
Aodhan
2025-07-08 23:31:06 +01:00
parent a36318de71
commit f03ac0abdb

View File

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