Welcome! Log In Create A New Profile

Advanced

Re: Unbuffered requests in a reverse proxy?

Pasi Kärkkäinen
May 20, 2013 03:58AM
On Sun, May 19, 2013 at 09:50:02PM +0200, Peter Hultqvist wrote:
> Hi
>
> Can nginx be configured to pass through a reverse proxy request before
> it has been transmitted completely?
>
> My set-up is a public facing nginx server accepting file uploads passed
> to another server via a reverse proxy configuration.
> I appears as nginx is reading the entire request before passing it on to
> the reverse proxy.
>
> The back end is written to abort early if the file size is not
> acceptable depending which account the client is logged in to or abort
> immediately if not logged in.
> Is there any buffer setting that can be set to 0 so that the request
> won't be buffered?
>

See the nginx mailinglist archives for a "no_buffer" patch to nginx 1.2.7:
http://yaoweibin.cn/patches/nginx-1.2.7-no_buffer-v6.patch

You'll find the usage / configuration syntax from the archives.

"no_buffer" patch for nginx 1.4.x isn't ready/stable yet.

-- Pasi

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

Unbuffered requests in a reverse proxy?

Peter Hultqvist May 19, 2013 03:52PM

Re: Unbuffered requests in a reverse proxy?

Pasi Kärkkäinen May 20, 2013 03:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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