From 5725e849716c780181c7d0572c390ebae4b96b17 Mon Sep 17 00:00:00 2001 From: wangjia <809946525@qq.com> Date: Sun, 24 May 2026 15:03:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(nginx):=20=E5=A2=9E=E5=8A=A0=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E6=96=87=E4=BB=B6=E5=A4=A7=E5=B0=8F=E9=99=90=E5=88=B6?= =?UTF-8?q?=E8=87=B3=2020MB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 默认 1MB 导致 Excel 文件上传返回 413。 Co-Authored-By: Claude Sonnet 4.6 --- deploy/nginx-jiu.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy/nginx-jiu.conf b/deploy/nginx-jiu.conf index f88dea3..0d3508b 100644 --- a/deploy/nginx-jiu.conf +++ b/deploy/nginx-jiu.conf @@ -7,6 +7,8 @@ server { ssl_protocols TLSv1.2 TLSv1.3; ssl_ciphers HIGH:!aNULL:!MD5; + client_max_body_size 20m; + # 商品图片静态文件 location ^~ /images/ { alias /opt/jiu/images/;