From 72700038c6b28c357f8ff8127000fb6554a5105d Mon Sep 17 00:00:00 2001 From: MerCry Date: Thu, 26 Feb 2026 11:50:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=AE=80=E5=8C=96Nginx=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E9=85=8D=E7=BD=AE=EF=BC=8C=E7=A7=BB=E9=99=A4upstream?= =?UTF-8?q?=E5=8F=98=E9=87=8F=20[AC-AISVC-50]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ai-service-admin/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ai-service-admin/nginx.conf b/ai-service-admin/nginx.conf index 03e0b59..ced6778 100644 --- a/ai-service-admin/nginx.conf +++ b/ai-service-admin/nginx.conf @@ -9,8 +9,7 @@ server { } location /api/ { - set $upstream http://ai-service:8080; - proxy_pass $upstream/; + proxy_pass http://ai-service:8080/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; @@ -21,6 +20,7 @@ server { proxy_cache_bypass $http_upgrade; proxy_read_timeout 300s; proxy_connect_timeout 75s; + proxy_buffering off; } gzip on;