<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">You can make nginx listen on 2 IP addresses with 2 listen directives. Or make it listen on all addresses if you wish.<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">For your upstream, configure an upstream block with those 2 IP addresses and make a proxy_pass pinting to it.<br></div><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div></div>
<br><div class="gmail_quote">On Sat, Nov 12, 2016 at 4:25 AM, Michael Power <span dir="ltr"><<a href="mailto:Michael.Power@elotouch.com" target="_blank">Michael.Power@elotouch.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" link="#0563C1" vlink="#954F72" lang="EN-US">
<div class="m_7562736824912317990WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">I have an nginx web server with two ip addresses. I want to connect to two upstream servers, where one upstream is configured to use one of the ip addresses and the other upstream is configured to use the
second ip address.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Is this possible?<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">Michael Power<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</div>
<br>______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br></blockquote></div><br></div></div>