Welcome! Log In Create A New Profile

Advanced

Re: Way to deny all requests if any upstream is down

Michael Salmon
April 27, 2017 02:50AM
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.

/Michael Salmon
SE KI34 06 341C (OLC: 9FFVCX34+67Q8)
+46 722 184 909

> On 26 Apr 2017, at 16:15:16, lchennup <nginx-forum@forum.nginx.org> wrote:
>
> Hi All,
>
> Is there any way to deny all requests if any upstream servers are down?.
>
> Thanks
>
> Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273881,273881#msg-273881
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Way to deny all requests if any upstream is down

lchennup April 26, 2017 10:15AM

Re: Way to deny all requests if any upstream is down

Michael Salmon April 27, 2017 02:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 290
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready