redirect 301 alias domain

zuckbin nginx-forum at nginx.us
Tue Mar 4 13:27:39 UTC 2014


curl -i "http://www.aaa.com/"
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Tue, 04 Mar 2014 13:25:24 GMT
Content-Type: text/html
Content-Length: 178
Connection: keep-alive
Keep-Alive: timeout=5
Location: http://www.aaa.com/

<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,248038,248070#msg-248070



More information about the nginx mailing list