about proxy_request_buffering

patrickshan nginx-forum at nginx.us
Wed Apr 1 11:10:00 UTC 2015


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 at 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
.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257731,257785#msg-257785



More information about the nginx mailing list