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