Add proxy buffer size configuration
This commit is contained in:
parent
4335babf2d
commit
eabab8c279
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue