forwarding POST requests to upstream

Igor Sysoev is at rambler-co.ru
Mon Apr 6 20:41:48 MSD 2009


On Mon, Apr 06, 2009 at 05:45:09PM +0200, Micha?? Jaszczyk wrote:

> > As far as I know nginx cannot pipe a request into upstream, since probably there was no intention initially to do like this. Moreover it is not trivial to implement from my point of view.
> 
> Does it mean that every POST request is saved to disk before it's
> forwarded to a backend? If this is the case then, well, we will just
> have to live with that, but this will degrade our performance
> dramatically.

No, a request body is saved to a disk only if it is larger than
client_body_buffer_size:

http://wiki.nginx.org/NginxHttpCoreModule#client_body_buffer_size


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list