nginx 301リダイレクトする方法

設定内容:

server {
server_name arkgame.com;
if ($host != 'www.arkgame.com’) {
rewrite ^/(.*)$ http://www.arkgame.com/$1 permanent;
}
}

Nginx

Posted by arkgame