Welcome! Log In Create A New Profile

Advanced

Re: client_max_body_size for a location {} ? Possible?

Maxim Dounin
June 05, 2012 02:42PM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

client_max_body_size for a location {} ? Possible?

Joseph Cabezas June 05, 2012 01:02PM

RE: client_max_body_size for a location {} ? Possible?

Joseph Cabezas June 05, 2012 01:32PM

Re: client_max_body_size for a location {} ? Possible?

Maxim Dounin June 05, 2012 02:42PM

RE: client_max_body_size for a location {} ? Possible?

Joseph Cabezas June 05, 2012 03:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 311
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready