From 40ff48498f9327893fe12e499c346ae5d6218ef8 Mon Sep 17 00:00:00 2001 From: MerCry Date: Thu, 26 Feb 2026 02:28:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20nginx=E4=BD=BF=E7=94=A8=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E5=BB=B6=E8=BF=9F=E8=A7=A3=E6=9E=90upstream=E9=81=BF?= =?UTF-8?q?=E5=85=8D=E5=90=AF=E5=8A=A8=E6=8A=A5=E9=94=99=20[AC-AISVC-01]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ai-service-admin/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ai-service-admin/nginx.conf b/ai-service-admin/nginx.conf index 90a7824..03e0b59 100644 --- a/ai-service-admin/nginx.conf +++ b/ai-service-admin/nginx.conf @@ -9,7 +9,8 @@ server { } location /api/ { - proxy_pass http://ai-service:8080/; + set $upstream http://ai-service:8080; + proxy_pass $upstream/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade';