update
This commit is contained in:
@@ -13,8 +13,8 @@ server {
|
||||
|
||||
# Proxy API requests to the backend service
|
||||
location /api/ {
|
||||
rewrite ^/api(/.*)$ $1 break; # Remove /api prefix before proxying
|
||||
proxy_pass http://backend:3001; # Proxy to backend root
|
||||
# rewrite ^/api(/.*)$ $1 break; # Remove /api prefix before proxying - REMOVED to match backend routes
|
||||
proxy_pass http://backend:3001; # Proxy to backend root, backend expects /api/v1/...
|
||||
|
||||
# Standard proxy headers
|
||||
proxy_set_header Host $host;
|
||||
|
||||
Reference in New Issue
Block a user