From 8fac183661b739ae04776266b7a49646e01de53d Mon Sep 17 00:00:00 2001 From: gitadmin Date: Wed, 3 Jun 2026 09:58:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Git=20push=20HTTP=20413=20=E2=80=94=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20client=5Fmax=5Fbody=5Fsize=20=E5=92=8C?= =?UTF-8?q?=E4=BB=A3=E7=90=86=E8=B6=85=E6=97=B6=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf.d/git-ai.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conf.d/git-ai.conf b/conf.d/git-ai.conf index 1839091..7dc047d 100644 --- a/conf.d/git-ai.conf +++ b/conf.d/git-ai.conf @@ -12,5 +12,10 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; + + client_max_body_size 0; + proxy_request_buffering off; + proxy_read_timeout 600s; + proxy_send_timeout 600s; } }