On Mon, Feb 1, 2010 at 2:31 PM, 任晓磊 <julyclyde@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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx