Update nginx.conf

This commit is contained in:
Baobhan Sith
2025-04-30 11:22:19 +08:00
parent 35eb2fcb3d
commit ace4fda29b
+1 -1
View File
@@ -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/...