Response from proxy server buffered in memory?

I configured nginx as reverse proxy to an application server java
disabling
the proxy buffering:

proxy_buffering off;
proxy_request_buffering off;

I noticed that when a client makes a request to the java server (e.g.
download a file), nginx buffered the response in memory (around 3Mb).
I would like to configure nginx so as not buffered the response (or at
least
minimize this buffer) it is possible?

Thanks,
Danilo Limatola Esterno

Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,267583,267583#msg-267583

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs