Proxying large downloads from s3

Maxim Dounin mdounin at mdounin.ru
Wed Apr 2 14:35:59 UTC 2014


Hello!

On Tue, Apr 01, 2014 at 07:59:45PM +0200, Sudara Williams wrote:

[...]

> interrupted. But we would appreciate any advice about proxying large
> files from s3. Should proxy_buffering be on or off?

There is no need to switch off proxy_buffering unless you are 
doing streaming and/or long polling.

In most cases, proxy_buffering as seen in various configs is 
misused to disable disk buffering.  This is wrong, 
proxy_max_temp_file_size should be used to control disk buffering.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list