Re: nginx upstream source ip address

2016-11-13 Thread Francis Daly
On Sat, Nov 12, 2016 at 03:25:49AM +, Michael Power wrote: Hi there, > 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

Re: nginx upstream source ip address

2016-11-12 Thread B.R. via nginx
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 wrote: >

nginx upstream source ip address

2016-11-11 Thread Michael Power
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 _