Hi, On Thu, May 28, 2020 at 3:22 PM Praveen Kumar K S <praveens...@gmail.com> wrote:
> Hello, > > Is it possible to have multiple upstream servers defined in nginx > configuration. But still the request should be sent to only one upstream > server. > 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' - https://nginx.org/en/docs/http/ngx_http_upstream_module.html#upstream > > _______________________________________________ > 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