Add proxy buffer size configuration

This commit is contained in:
Michael 2024-11-06 15:52:01 -06:00
parent 4335babf2d
commit eabab8c279

View file

@ -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;