IPv6 support

Edho P Arief edhoprima at gmail.com
Mon Feb 1 10:36:10 MSK 2010


On Mon, Feb 1, 2010 at 2:31 PM, 任晓磊 <julyclyde at gmail.com> wrote:
> The default "listen 80" doesn't order nginx to listen on a IPv6
> address. I cannot understand this.
>
> At last, I use
> listen [::]:80 default ipv6only=on;
> listen 80;
> to order nginx serve on ipv4 and ipv6.
>
> A single "listen [::]:80;" makes it listen only on ipv6 address.
>

yes, you need to specify both.

listen 80;
listen [::]:80;

is enough
-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org



More information about the nginx mailing list