From 841295da9e6488285c029325c05cae7ae8f53c87 Mon Sep 17 00:00:00 2001 From: leon Date: Mon, 3 Aug 2026 15:45:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9nginx=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E9=99=90=E5=88=B6=E4=B8=BA50MB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 部署文档.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/部署文档.md b/部署文档.md index 09583bb..6b766ec 100644 --- a/部署文档.md +++ b/部署文档.md @@ -287,6 +287,9 @@ server { access_log /var/log/nginx/tgoim_access.log; error_log /var/log/nginx/tgoim_error.log; + # 允许上传的最大文件大小(产品图片、视频等) + client_max_body_size 50M; + # Gzip 压缩 gzip on; gzip_vary on;