Welcome! Log In Create A New Profile

Advanced

Re: proxy_pass ignoring gai.conf/RFC3484

Ivan Vilata i Balaguer
January 08, 2015 04:50AM
Maxim Dounin (2015-01-05 07:17:45 +0300) wrote:

> 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.

Umm, I should have paid closer attention to the docs. I would have
expected to still see it affected by RFC3484 but now I see it's a
completely different mechanism.

Thank you very much for your reply!

--
Ivan Vilata i Balaguer

_______________________________________________
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: 135
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