IPv6への対応 (Ubuntu16.04LTS / Nginx)

ファイアーウォールの確認

sudo ufw status

Nginxの設定
/etc/nginx/nakachan.conf

server {
listen       80;
+listen      [::]:80; //←追加
server_name  idol-nakachan.world;
return 301 https://$host$request_uri;
}
server {
listen       443 ssl http2;
+listen      [::]:443 ssl http2; //←追加
server_name  idol-nakachan.world;

...
}

再起動

sudo nginx -t
sudo systemctl restart nginx

Value-Domainの設定
ネームサーバー:ns1~5.value-domain.com に変更
DNS/URL:下記のように変更

aaaa @ xxxx:xxxx:xxxx:xxxx:xxxx:xxxx // ←ipv6 を入力
a @ xxx.xxx.xxx.xxx           // ←ipv4 を入力
a www 123.123.123.3
mx @ 10

2 thoughts on “IPv6への対応 (Ubuntu16.04LTS / Nginx)

  1. Justin Hamilton

    Long time reader, first time commenter — so, thought I’d drop a comment..
    — and at the same time ask for a favor.

    Your wordpress site is very simplistic – hope you don’t mind me asking what theme you’re
    using? (and don’t mind if I steal it? :P)

    I just launched my small businesses site –also built in wordpress like
    yours– but the theme slows (!) the site down quite
    a bit.

    In case you have a minute, you can find it by searching for “royal cbd” on Google (would appreciate
    any feedback)

    Keep up the good work– and take care of yourself during the
    coronavirus scare!

    ~Justin

    返信
    1. donaco 投稿作成者

      Hello, thx to your comment.

      >what theme you’re using?
      its uses customized “Twenty Twelve” theme.

      >and don’t mind if I steal it? 😛
      its OK 😀

      返信

コメントを残す

メールアドレスが公開されることはありません。

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください