[FORUM] How to... - tiered failover?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[FORUM] How to... - tiered failover?

Nginx Forum

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 bandwidth.  

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