client_max_body_size for a location {} ? Possible?
Maxim Dounin
mdounin at mdounin.ru
Tue Jun 5 18:40:55 UTC 2012
Hello!
On Tue, Jun 05, 2012 at 05:31:25PM +0000, Joseph Cabezas wrote:
>
> Answering myself partially
>
> location /wordpress/wp-admin { client_max_body_size 1m; } <-- does that apply for evert sub directory such as /wordpress/wp-admin/dir1 /wordpress/wp-admin/dir2/app.php etc
See here for details explanation on how locations work:
http://nginx.org/r/location
And here for an answer to your original question:
http://nginx.org/r/client_max_body_size
http://nginx.org/r/client_body_buffer_size
The "context" in the directive description gives a list of places
where the directive is allowed.
Maxim Dounin
More information about the nginx
mailing list