# Response from proxy server buffered in memory?

**URL:** <https://www.ruby-forum.com/t/response-from-proxy-server-buffered-in-memory/244790>\
**Category:** NGINX\
**Created:** [June 15, 2016, 1:20am UTC](https://www.ruby-forum.com/t/response-from-proxy-server-buffered-in-memory/244790 "2016-06-15T01:20:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [June 15, 2016, 1:20am UTC](https://www.ruby-forum.com/t/response-from-proxy-server-buffered-in-memory/244790/1 "2016-06-15T01:20:41Z")

</div>

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:

> **[Response from proxy server buffered in memory?](https://forum.nginx.org/read.php?2,267583,267583#msg-267583)**
>
> 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...
