Welcome! Log In Create A New Profile

Advanced

Re: about proxy_request_buffering

April 01, 2015 07:10AM
Maxim Dounin Wrote:
-------------------------------------------------------
> Hello!
>
> On Sun, Mar 29, 2015 at 01:51:15AM -0400, cubicdaiya wrote:
>
> > Hello.
> >
> > Though I'm trying to apply 'proxy_request_buffering off;' for
> unbuffered
> > uploading,
> > The buffering still seems to be enabled from error.log.
> >
> > # nginx.conf
> >
> > server {
> > listen 443 ssl spdy;
> > server_name example.com;
> >
> > location /upload {
> > proxy_request_buffering off;
> > proxy_pass http://upload_backend;
> > }
> > }
> >
> > # error.log
> >
> > 2015/03/29 14:02:20 [warn] 6965#0: *1 a client request body is
> buffered to a
> > temporary file /etc/nginx/client_body_temp/0000000001, client:
> x.x.x.x,
> > server: example.com, request: "POST /upload HTTP/1.1", host:
> "example.com"
> >
> >
> > The warning above is not output when SPDY is not enabled.
> >
> > Is proxy_request_buffering always enabled when SPDY is enabled?
>
> Yes, it is not currently possible to switch off
> proxy_request_buffering
> when using SPDY.
>
> --
> Maxim Dounin
> http://nginx.org/
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

Thanks for confirming this. It would be nice if we can have this documented here: http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_request_buffering .
Subject Author Posted

about proxy_request_buffering

cubicdaiya March 29, 2015 01:51AM

Re: about proxy_request_buffering

patrickshan March 29, 2015 08:49PM

Re: about proxy_request_buffering

cubicdaiya March 31, 2015 07:31PM

Re: about proxy_request_buffering

Maxim Dounin March 31, 2015 08:20PM

Re: about proxy_request_buffering

cubicdaiya April 01, 2015 06:51AM

Re: about proxy_request_buffering

patrickshan April 01, 2015 07:10AM

Re: about proxy_request_buffering

Maxim Dounin April 01, 2015 08:56AM

Re: about proxy_request_buffering

patrickshan April 02, 2015 07:39AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 76
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready