2. For responses you may also completely disable disk buffering
using "proxy_max_temp_file_size 0". This implies that nginx won't
be able to read full response from a backend though, and
connection to a backend will be busy for a time needed to client to
download a response.

Directive description may be found here:
http://wiki.nginx.org/HttpProxyModule#proxy_max_temp_file_size