Welcome! Log In Create A New Profile

Advanced

RE: Switch between upstream server

Reinis Rozitis
May 28, 2020 08:46AM
> But when A is not available, it should send request to B.
> When A come back, it should send requests to A.

You can add 'backup' for the B server and it will be used only when all others (A) are down: https://nginx.org/en/docs/http/ngx_http_upstream_module.html#server

rr

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

Switch between upstream server

Praveen Kumar K S May 28, 2020 08:24AM

Re: Switch between upstream server

Martin Grigorov May 28, 2020 08:40AM

Re: Switch between upstream server

Sam Henaghan May 28, 2020 08:46AM

Re: Switch between upstream server

itpp2012 May 28, 2020 09:06AM

RE: Switch between upstream server

Reinis Rozitis May 28, 2020 08:46AM

Re: Switch between upstream server

Sam Henaghan May 28, 2020 09:54AM

Re: Switch between upstream server

Andrei May 28, 2020 10:02AM

Re: Switch between upstream server

Sam Henaghan May 28, 2020 10:10AM

RE: Switch between upstream server

Reinis Rozitis May 28, 2020 10:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 65
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready