Welcome! Log In Create A New Profile

Advanced

Re: proxy_pass ignoring gai.conf/RFC3484

Maxim Dounin
January 04, 2015 11:18PM
Hello!

On Fri, Jan 02, 2015 at 04:13:40PM +0100, Ivan Vilata i Balaguer wrote:

[...]

> BUT if I configure NginX with ``proxy_pass http://internal_machine;``,
> it always insists in using the IPv4 address first, regardless of what
> ``gai.conf`` says. The only way I have to force IPv6 first is
> hardwiring it in the URL (which is ugly) or including the resolution in
> ``/etc/hosts`` (which disperses configuration).
>
> Is this behaviour expected? Maybe I missed some configuration aspect?

If a name in proxy_pass resolves to multiple addresses, nginx will
use them all with round-robin balancing algorithm.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_pass ignoring gai.conf/RFC3484

Ivan Vilata i Balaguer January 02, 2015 10:14AM

Re: proxy_pass ignoring gai.conf/RFC3484

Maxim Dounin January 04, 2015 11:18PM

Re: proxy_pass ignoring gai.conf/RFC3484

Ivan Vilata i Balaguer January 08, 2015 04:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 241
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