diff --git a/packages/frontend/nginx.conf b/packages/frontend/nginx.conf index a2db7e2..28dffaf 100644 --- a/packages/frontend/nginx.conf +++ b/packages/frontend/nginx.conf @@ -13,7 +13,7 @@ server { } # Proxy API requests to the backend service - location /api/ { + location ^~ /api/ { # Use ^~ for preferential prefix matching # 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/...