<div dir="ltr">Hello,<div><br></div><div>I would like to define an upstream block with a number of servers and utilize the hash directive to choose a particular server dependent on the request. There is a chance that the chosen server could fail and so I would also like to configure a backup server to handle the request in this case. If I define an additional server in this upstream and declare it as backup will it handle the request if the hash-chosen server fails as defined by my proxy_next_upstream directive?</div><div><br></div><div>If so, great! If not, what is the recommended way to achieve this desired behavior?</div><div><br></div><div>Thank you,</div><div>~Jonathan<br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div></div></div><div><table cellpadding="0" cellspacing="0" style="border:1px dotted rgb(211,211,211);text-align:center"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-color:rgb(51,105,232) rgb(211,211,211) rgb(211,211,211);border-width:2px 1px 1px;border-style:solid dotted dotted">Jonathan Simowitz |</td><td nowrap style="border-color:rgb(213,15,37) rgb(211,211,211) rgb(211,211,211);border-width:2px 1px 1px;border-style:solid dotted dotted">Jigsaw |</td><td nowrap style="border-color:rgb(238,178,17) rgb(211,211,211) rgb(211,211,211);border-width:2px 1px 1px;border-style:solid dotted dotted"> Software Engineer |</td><td nowrap style="border-color:rgb(51,105,232) rgb(211,211,211) rgb(211,211,211);border-width:2px 1px 1px;border-style:solid dotted dotted"> <a href="mailto:simowitz@google.com" style="color:rgb(17,85,204)" target="_blank">simowitz@google.com</a> |</td><td nowrap style="border-color:rgb(0,153,57) rgb(211,211,211) rgb(211,211,211);border-width:2px 1px 1px;border-style:solid dotted dotted"> <br><font color="#222222"> 631-223-8608</font><br><br></td></tr></tbody></table></div></div></div></div></div></div></div>
</div></div>