client_max_body_size for a location {} ? Possible?

Joseph Cabezas tdgh2323 at
Tue Jun 5 17:31:25 UTC 2012

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


From: tdgh2323 at
To: nginx at
Subject: client_max_body_size for a location  {} ? Possible?
Date: Tue, 5 Jun 2012 17:01:34 +0000

Is it possible to specify a client_max_body_size and  client_body_buffer_size specifically for a location? If so how?

I need to allow higher buffers for a section that hosts an application.



nginx mailing list
nginx at 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list