client_max_body_size per $request_uri

Edho Arief edho at myconan.net
Sat Jan 28 11:35:47 UTC 2012


On Sat, Jan 28, 2012 at 5:52 PM, skyroski <nginx-forum at nginx.us> wrote:
> Hi, I have found similar topics on discussion with location based
> request but because I'm using a PHP software that by default handles
> everything through a single PHP file (including processing POST uploads
> of files) I would like to be able to use
>
> if ($request_uri ~* upload$) {
>    client_max_body_size 200M;
> }

My guess says map would work.

http://wiki.nginx.org/HttpMapModule

-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org



More information about the nginx mailing list