nginx with proxy_cache_use_stale not returning from cache when connection refused

Maxim Dounin mdounin at
Wed Dec 10 17:20:16 UTC 2014


On Wed, Dec 10, 2014 at 11:45:26AM -0500, new299 wrote:

> I'm using nginx as a reverse proxy, but I can't get nginx to serve requests
> from its cache when the upstream server is refusing connections. I
> understood that "proxy_cache_use_stale error" should allow me to do this,
> but it doesn't seem to work for me. Have I perhaps misunderstood something?

You may want to clariy what "doesn't seem to work for me" means.  
What makes you think that it doesn't work?

Maxim Dounin

More information about the nginx mailing list