From 318240db256be5e48ce58aad57348443d2f98939 Mon Sep 17 00:00:00 2001 From: yidl Date: Sun, 17 Aug 2025 14:32:33 +0800 Subject: [PATCH] =?UTF-8?q?nginx=20=E5=A4=A7=E5=B0=8F=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf.gateway | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx.conf.gateway b/nginx.conf.gateway index 51dad5b..0034121 100644 --- a/nginx.conf.gateway +++ b/nginx.conf.gateway @@ -49,6 +49,8 @@ http { server { listen 8000 ssl; server_name 106.52.199.114; + client_max_body_size 100M; # 允许最大 100MB 的请求体 + ssl_certificate /etc/nginx/certs/gateway.crt; ssl_certificate_key /etc/nginx/certs/gateway.key; ssl_protocols TLSv1.2 TLSv1.3; @@ -144,6 +146,7 @@ http { server { listen 8002 ssl; server_name 106.52.199.114; + client_max_body_size 100M; # 允许最大 100MB 的请求体 ssl_certificate /etc/nginx/certs/gateway.crt; ssl_certificate_key /etc/nginx/certs/gateway.key; ssl_protocols TLSv1.2 TLSv1.3;