<div dir="ltr"><div>Hello,</div><div><br></div><div>Is it possible to have multiple upstream servers defined in nginx configuration. But still the request should be sent to only one upstream server. <br></div><div>Lets say, I have two upstream servers A and B. Nginx should proxy request to A by default. <br></div><div>But when A is not available, it should send request to B. <br></div><div>When A come back, it should send requests to A.  <br></div><br></div>