ubuntu16.10
На сервере крутятся несколько сайтов на ipV4, надо поднять отдельный сайт на ipV6
Домен отправлен на яндекс, в DNS яндекса указано
@ AAAA xxxx:xxx:xxx:xxxx::x
www AAAA xxxx:xxx:xxx:xxxx::x
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;
}
}
ни [xxxx:xxx:xxx:xxxx::x] ни domain.com не отвечают, что я делаю не так