nginx upstream source ip address

B.R. reallfqq-nginx at yahoo.fr
Sat Nov 12 19:10:44 UTC 2016


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 at 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20161112/bb136068/attachment.html>


More information about the nginx mailing list