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
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to