clientmaxbodysize
client_max_body_size is an Nginx directive that sets the maximum size of the client request body that Nginx will process. It can be placed in the http, server, or location context, allowing limits to be applied globally or scoped to specific servers or paths. The default value is 1m (one megabyte).
The value is a size specification that supports units with suffixes K, M, or G (case-insensitive). For
If an incoming request body exceeds the configured limit, Nginx responds with the HTTP 413 Request Entity
Configuration typically involves placing the directive in the http block for a global limit, or within a
Usage notes: set a value appropriate for expected upload sizes and available server resources. Higher limits