diff --git a/docker/nginx/conf.d/default.conf b/docker/nginx/conf.d/default.conf index cf2dc18..9d57143 100644 --- a/docker/nginx/conf.d/default.conf +++ b/docker/nginx/conf.d/default.conf @@ -1,6 +1,6 @@ # Upstream backend servers upstream backend { - server backend:8000; + server backend:8080; # Changed from 8000 to 8080 to match FastAPI port keepalive 32; } @@ -21,7 +21,7 @@ server { # Backend API proxy location /api/ { - proxy_pass http://backend; + proxy_pass http://backend/api/; # Added /api/ to ensure proper path rewriting # Proxy headers proxy_http_version 1.1;