client_max_body_size per $request_uri

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

On Sat, Jan 28, 2012 at 5:52 PM, skyroski <nginx-forum at> 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.

O< ascii ribbon campaign - stop html mail -

More information about the nginx mailing list