From c8caa0d21ae4bc96e9b9c891ed3d20efb8373192 Mon Sep 17 00:00:00 2001 From: "mula.liu" Date: Tue, 23 Dec 2025 18:17:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86vite=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- forntend/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forntend/nginx.conf b/forntend/nginx.conf index a79e87d..7b99d54 100644 --- a/forntend/nginx.conf +++ b/forntend/nginx.conf @@ -13,7 +13,7 @@ server { # API 反向代理(代理到后端服务) location /api/ { - proxy_pass http://backend:8000/; + proxy_pass http://backend:8000/api/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;