From “tiered failover?” at http://forum.nginx.org/showthread.php?t=14
I have a setup like this:
nginx -> http cache -> site || remote site
I want nginx to ALWAYS proxy to the cache, but if and only if the cache
is down to skip it and proxy directly to my site. If and only if the
cache and the site are down proxy to a remote site with limited
I dont see how to do this with nginx. There is round robin and weighted
round robin but this isn’t what I need. I need tiered failover.
Does anyone know how to configure this?
Posted by ohenry