配置Nginx支持IPV6协议

IPV6已经叫嚣了好多年,但是一般的服务还是以IPV4为主的,虽然很多应用商或者web服务器已经提供了IPV6的访问,但是距离大规模使用,估计还是更长的时间的。编译Nginx的时候一定要编译:--with-ipv6,不然无法使用!!
1:同时监听IPV4+IPV6的80端口


2:分别监听IPV4+IPV6的80端口

3:只监听IPV6的80端口

4:同时监听IPV4+IPV6的443端口

转载于:http://www.scalescale.com/tips/nginx/how-to-enable-nginx-ipv6-support/ 文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/basic/config-nginx-support-ipv6/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!

 
Byrd
  • by Published onMarch 30, 2016
  • 原文链接:https://note.t4x.org/basic/config-nginx-support-ipv6/
Comments  2  Visitor  2
    • hostus中文 1

      兄弟,交换链接吗?

        • Byrd
          Byrd

          @ hostus中文 网站内容差别比较大。谢谢支持!

      匿名

      Comment

      Anonymous

      Slide puzzle verification.