Way to deny all requests if any upstream is down
michael.salmon at ericsson.com
Thu Apr 27 06:48:25 UTC 2017
You can do it if all upstream servers are down but I don't think that any is possible. Just have a backup server that replies with a 502 to any url. I did something similar recently but you need to have a backup server that can take care of all methods, get, post etc.
SE KI34 06 341C (OLC: 9FFVCX34+67Q8)
+46 722 184 909
> On 26 Apr 2017, at 16:15:16, lchennup <nginx-forum at forum.nginx.org> wrote:
> Hi All,
> Is there any way to deny all requests if any upstream servers are down?.
> Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273881,273881#msg-273881
> nginx mailing list
> nginx at nginx.org
More information about the nginx