nginx的IPv6支持

感谢Jtr帮忙,给我新租的linode VPS加了he.net的IPv6 tunnelbroker,但是marsteel说IPv6访问不了网站,只能ping通和访问ssh端口。我又去nginx的邮件列表问了半天,才发现原来只需要
listen [::]:80;
这一句就可以,而不需要分别在IPv4和IPv6上设置listen。具体讨论参见这里

This entry was posted in 默认分类 and tagged , , . Bookmark the permalink.

9 Responses to nginx的IPv6支持

  1. supertcy says:

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /var/www/julyclyde.org/wordpress/wp-includes/classes.php on line 280

  2. JulyClyde says:

    svn up之后就好了。应该是wordpress的小毛病

  3. supertcy says:

    我也想要ipv6的tunnel broker~~~

  4. JulyClyde says:

    或者你也可以考虑isatap,据说可以从IPv4的NAT后面连接到IPv6

  5. supertcy says:

    可怜我的openvz的vps,居然不支持。。

  6. xiaoding says:

    ISATAP方式无法从IPv4网络NAT连接到IPv6……

  7. Jtr says:

    现在又改成俩listen了. 郁闷

  8. 现在Linode支持IPv6了。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.