nginx开启IPV6

加上listen [::]:80;这个就可以了。然后重启nginx

server {
    listen 80;
    listen [::]:80;
    server_name down.sqlmap.xyz;
    root /home/wwwroot/down.sqlmap.xyz;
    index index.html /_h5ai/public/index.php;
    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php7.0-fpm.sock;
    }
}
点赞

发表评论

电子邮件地址不会被公开。必填项已用 * 标注