From 800d3c4b5e92160d7e822ff47e5490c9175f5c85 Mon Sep 17 00:00:00 2001 From: MoonTestUse1 Date: Tue, 24 Dec 2024 02:28:57 +0600 Subject: [PATCH] cha25 --- docker/nginx/conf.d/default.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;