Welcome! Log In Create A New Profile

Advanced

Re: hostname based listen directive with A/AAAA RRs

Maxim Dounin
August 14, 2018 08:08PM
Hello!

On Tue, Aug 14, 2018 at 04:53:23PM -0400, Jim Popovitch wrote:

> Hello,
>
> Will the following listen statement bind to all addrs (2xIPv4 and
> 2xIPv6)?
>
> server {
> listen www.nginx.org:443 ssh http2 ipv6only=no bind;

No. If a hostname is used in the listen directive, it will use
the first address the name resolves to.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

hostname based listen directive with A/AAAA RRs

Jim Popovitch August 14, 2018 04:54PM

Re: hostname based listen directive with A/AAAA RRs

Maxim Dounin August 14, 2018 08:08PM

Re: [Nginx] Re: hostname based listen directive with A/AAAA RRs

Jim Popovitch August 14, 2018 11:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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