AW: IPv6 upstream problem

Lukas Tribus luky-37 at hotmail.com
Wed Mar 1 14:04:27 UTC 2017


> Did anyone have a solution for this? I also have many of these errors logged
> because I am using Google Container Engine that does not support IPv6.

Try ´man gai.conf´ to configure getaddrinfo behavior [1].


You could also try forcing a ipv6=no nginx resolver by using a variable:

set $blablaserver "dual-stack-ipv4-ipv6.xtremenitro.org";
server $blablaserver;

Not sure if that works with upstream servers, it does work with proxy_pass.


cheers,
lukas

[1] http://man7.org/linux/man-pages/man5/gai.conf.5.html


More information about the nginx mailing list