Welcome! Log In Create A New Profile

Advanced

Re: client_max_body_size per $request_uri

Edho Arief
January 28, 2012 06:38AM
On Sat, Jan 28, 2012 at 5:52 PM, skyroski <nginx-forum@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

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

client_max_body_size per $request_uri

skyroski January 28, 2012 05:52AM

Re: client_max_body_size per $request_uri

Edho Arief January 28, 2012 06:38AM

Re: client_max_body_size per $request_uri

Valentin V. Bartenev January 28, 2012 06:58AM

Re: client_max_body_size per $request_uri

skyroski January 28, 2012 08:16AM

Re: client_max_body_size per $request_uri

Edho Arief January 28, 2012 08:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 271
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