「nginx入門」複数のserver_nameを設定する方法
使用例
server { server_name arkgame.com; xxxx } server { server_name www.arkgame.com; return 301 $scheme://sample.com$request_uri; }
Coding Changes the World
使用例
server { server_name arkgame.com; xxxx } server { server_name www.arkgame.com; return 301 $scheme://sample.com$request_uri; }