upstream response is buffered to a temporary file

Francis Daly francis at
Tue Mar 13 23:49:46 UTC 2012

On Tue, Mar 13, 2012 at 09:36:14AM -0400, Bai Shen wrote:

Hi there,

> I installed nginx with the defaults.  I'm using it as a reverse proxy, but
> not caching.  However, I keep getting a lot of entries in the log file
> saying that an "upstream response is buffered to a temporary file".  Is
> there a way to turn this off?

If your upstream is from a proxy_pass directive, have a look at and linked content.

> Will nginx clean out the cache, or do I have
> to do it manually?

This is a buffer, not a cache, and (I believe) you shouldn't have to do
anything manually about it.

All the best,

Francis Daly        francis at

More information about the nginx mailing list