[edit] client_max_body_size

Syntax: client_max_body_size size
Default: 1m
Context: http
server
location
Reference: client_max_body_size


Specifies the maximum accepted body size of a client request, as indicated by the request header Content-Length.

If the stated content length is greater than this size, then the client receives the HTTP error code 413 ("Request Entity Too Large"). It should be noted that web browsers do not usually know how to properly display such an HTTP error.

Set to 0 to disable.


Module: HttpCoreModule