From eabab8c2794ddede8303a091b9110ccce454b335 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 6 Nov 2024 15:52:01 -0600 Subject: [PATCH] Add proxy buffer size configuration --- nginx.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 17513c5..4125c52 100644 --- a/nginx.conf +++ b/nginx.conf @@ -41,9 +41,11 @@ http { # length is greater than this size, then the client receives the HTTP # error code 413. Set to 0 to disable. Default is '1m'. client_max_body_size 1G; - client_body_timeout 120s; + proxy_buffers 16 16k; + proxy_buffer_size 16k; + # Sendfile copies data between one FD and other from within the kernel, # which is more efficient than read() + write(). Default is off. sendfile on;