Unbuffered requests in a reverse proxy?
pasik at iki.fi
Mon May 20 07:57:03 UTC 2013
On Sun, May 19, 2013 at 09:50:02PM +0200, Peter Hultqvist wrote:
> 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:
You'll find the usage / configuration syntax from the archives.
"no_buffer" patch for nginx 1.4.x isn't ready/stable yet.
More information about the nginx