Welcome! Log In Create A New Profile

Advanced

Re: nginx upstream source ip address

B.R. via nginx
November 12, 2016 02:12PM
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
Subject Author Posted

nginx upstream source ip address

Michael Power November 11, 2016 10:28PM

Re: nginx upstream source ip address

B.R. via nginx November 12, 2016 02:12PM

Re: nginx upstream source ip address

Francis Daly November 13, 2016 03:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 270
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready