Turn off file upload buffering?

Igor Sysoev is at rambler-co.ru
Tue Nov 7 11:35:16 MSK 2006

On Mon, 6 Nov 2006, Ezra Zygmuntowicz wrote:

> 	I am running mongrel behind nginx proxy and I am doing upload progess 
> with mongrel. I need to know how to turn off ngxin file upload buffering. 
> Right now nginx buffers the entire file upload to a tmp file before it sends 
> it on to the proxied backend. Is there a way to turn this off so that nginx 
> just does a pass through and lets the backend take care of buffering the file 
> upload to disk?

Currently nginx always buffer an upload because
1) it is accelerator
2) and to support fault tolerance: if some backend fails, nginx can resend
    the upload to next backend.

I plan to add the upload progress module.

Igor Sysoev

More information about the nginx mailing list