I
I
i_want_to_know_everything2017-02-06 23:25:42
Nginx
i_want_to_know_everything, 2017-02-06 23:25:42

Access to the site by ipv6?

ubuntu16.10
Several sites are spinning on ipV4 on the server, it is necessary to raise a separate site on

ipV6 sysctl.conf net.ipv6.bindv6only=1 nginx




server {
    listen [xxxx:xxx:xxx:xxxx::x]:80 ipv6only=on;

    root /var/www/domain.com/html;
    index index.html index.php;
    server_name domain.com;
    location / {
        try_files $uri $uri/ =404;
    }
    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php7.0-fpm.sock;
    }

}

neither [xxxx:xxx:xxx:xxxx::x] nor domain.com respond, what am I doing wrong

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Verbin, 2017-02-07
@i_want_to_know_everything

IPv6 address pinged? ( www.subnetonline.com/pages/ipv6-network-tools/onli... Does the
domain resolve to this IPv6?
Most likely, this IP is simply not configured on the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question