You can make nginx listen on 2 IP addresses with 2 listen directives. Or
make it listen on all addresses if you wish.
For your upstream, configure an upstream block with those 2 IP addresses
and make a proxy_pass pinting to it.
---
*B. R.*
On Sat, Nov 12, 2016 at 4:25 AM, Michael Power <Michael.Power@elotouch.com>
wrote:
> 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.
>
>
>
> Is this possible?
>
>
>
> Michael Power
>
>
>
> _______________________________________________
> 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