Maxim Dounin
March 27, 2014 01:00PM
Hello!

On Thu, Mar 27, 2014 at 12:29:03PM -0400, Jim Popovitch wrote:

> Should proxy_pass retry ipv4 if ipv6 fails? Currently (1.5.12), it
> does not, and there is no way to force proxy_pass to always use ipv4.

In no particular order:

- The proxy_next_upstream is expected to retry by default.

- There _is_ a way to force proxy_pass to always use ipv4 - you
should configure your system accordingly, and
getaddrinfo(AI_ADDRCONFIG) as used by nginx will do the right
thing. E.g., on Linux net.ipv6.conf.all.disable_ipv6 can be set
to disable use of ipv6.

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

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

proxy_pass behavior

Jim Popovitch 1065 March 27, 2014 12:30PM

Re: proxy_pass behavior

Maxim Dounin 503 March 27, 2014 01:00PM

Re: proxy_pass behavior

Jim Popovitch 395 March 27, 2014 01:14PM

Re: proxy_pass behavior

Maxim Dounin 389 March 27, 2014 01:28PM

Re: proxy_pass behavior

Jim Popovitch 2431 March 27, 2014 01:52PM

Re: proxy_pass behavior

Jim Popovitch 751 March 27, 2014 08:20PM

Re: proxy_pass behavior

Jim Popovitch 632 March 28, 2014 01:58PM

Re: proxy_pass behavior

Maxim Dounin 549 March 28, 2014 02:38PM

Re: proxy_pass behavior

Jim Popovitch 885 March 28, 2014 02:42PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 106
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready