Disable Reverse Proxy for Failover
mdounin at mdounin.ru
Thu Apr 24 11:22:08 UTC 2014
On Wed, Apr 23, 2014 at 09:58:48PM +0000, Hect, Jason wrote:
> I have NGINX set up as a reverse proxy, which works fine. In
> the event my web server goes down, I would like NGINX to act as
> the failover, and serve a local page with just some basic
> company information and a "check back soon" type message.
> Trying to do this, I think I'm getting stuck in an infinite loop
> and always end up with a 502 Gateway error. For testing, I was
> just trying to get it working with generic load balancing, going
> back and forth between my web server and the local NGINX "Check
> Back Soon" page. My config looks something like this:
> Any reason why this shouldn't work?
Looking into logs might be a good idea.
More information about the nginx