Fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user