Directives

client_body_buffer_size

syntax: client_body_buffer_size size
default: client_body_buffer_size 8k/16k
context: http, server, location

Directive sets client request body buffer size. If the request body is larger than the buffer, then the whole body or some its part is written to temporary file. By default buffer size is equal to 2 memory page sizes. This is 8K on x86, other 32-bit platforms, and x86-64. It is usually 16K on other 64-bit platforms.

sendfile

syntax: sendfile [on|off]
default: sendfile off
context: http, server, location

Directive enables or disables sendfile() usage.