Switch between upstream server
martin.grigorov at gmail.com
Thu May 28 12:38:06 UTC 2020
On Thu, May 28, 2020 at 3:22 PM Praveen Kumar K S <praveenssit at gmail.com>
> Is it possible to have multiple upstream servers defined in nginx
> configuration. But still the request should be sent to only one upstream
> Lets say, I have two upstream servers A and B. Nginx should proxy request
> to A by default.
> But when A is not available, it should send request to B.
> When A come back, it should send requests to A.
I think you can achieve this by using a very high value of 'weight' -
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx