From fc924965f738df0718dec5482c41bfa669aba676 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Thu, 2 Jul 2026 17:20:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Nginx=20=E6=B7=BB=E5=8A=A0=20client=5Fma?= =?UTF-8?q?x=5Fbody=5Fsize=20=E5=92=8C=20proxy=5Frequest=5Fbuffering=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- infra/docker/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infra/docker/nginx.conf b/infra/docker/nginx.conf index cfaf3afaf..ea1c9587c 100644 --- a/infra/docker/nginx.conf +++ b/infra/docker/nginx.conf @@ -10,6 +10,8 @@ server { gzip_min_length 1024; gzip_types text/plain text/css text/xml text/javascript application/javascript application/json application/xml+rss; + client_max_body_size 800m; + # SPA routing - all routes to index.html location / { try_files $uri $uri/ /index.html; @@ -22,6 +24,7 @@ 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 $scheme; + proxy_request_buffering off; } # Cache static assets