原来IPV4的监听端口:
listen 80; listen 443 ssl http2;
要开启IPV6访问,添加IPV6监听端口,需要在宝塔网站的配置文件中找到如上代码,并在下边添加IPV6监听端口,添加后如下:
listen 80; listen 443 ssl http2; listen [::]:443 ssl http2; listen [::]:80;
原来IPV4的监听端口:
listen 80; listen 443 ssl http2;
要开启IPV6访问,添加IPV6监听端口,需要在宝塔网站的配置文件中找到如上代码,并在下边添加IPV6监听端口,添加后如下:
listen 80; listen 443 ssl http2; listen [::]:443 ssl http2; listen [::]:80;