[edit] client_body_in_file_only

Syntax: client_body_in_file_only on | clean | off
Default: off
Context: http
server
location
Reference: client_body_in_file_only


The directive forces nginx to always store a client request body into a temporary disk file even if the body is actually of 0 size.

Please note that the file will NOT be removed at request completion if the directive is enabled.

This directive can be used for debugging and for the $r->request_body_file method in the Embedded Perl module.


Module: HttpCoreModule