1) www 붙이고 접속했을 때 www 없이 접속하는 법
server{
if ($http_host = "www.eond.com") { rewrite ^ http://eond.com$request_uri permanent; }
}
2) www 없이 접속했을 때 무조건 www 붙이기
if ($http_host != "www.example.com") { rewrite ^ http://example.com$request_uri permanent; }
라이믹스는 이온디와 함께
댓글 0
댓글작성칸으로