From 7d22e4b3951ff95b52a1eb7c995228b5abc15ccc Mon Sep 17 00:00:00 2001 From: lzh Date: Tue, 24 Mar 2026 18:59:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=A4=A7=E5=B0=8F=E9=99=90=E5=88=B620M?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/web-antd/nginx.conf b/apps/web-antd/nginx.conf index 3e6b9eb51..b2ebc095c 100644 --- a/apps/web-antd/nginx.conf +++ b/apps/web-antd/nginx.conf @@ -20,6 +20,8 @@ server { # 后端服务在 Docker 容器中,使用容器名访问(都在 1panel-network 网络中) # 如果后端在宿主机上,改为:http://172.17.0.1:48080/admin-api location /admin-api { + client_max_body_size 20M; + # 后端服务地址 # 方案1:使用容器名(推荐,自动 DNS 解析)- 如果后端监听 0.0.0.0 proxy_pass http://aiot-gateway:48080/admin-api;