Server 1 redirects, Server 2 does not

drhowarddrfine nginx-forum at nginx.us
Fri Aug 21 03:09:21 UTC 2015


Doing a curl -I -L http://www.site1.com/ returns this:

HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Fri, 21 Aug 2015 03:04:50 GMT
Content-Type: text/html
Content-Length: 178
Connection: keep-alive
Location: https://site1.com/

HTTP/1.1 200 OK
Server: nginx
Date: Fri, 21 Aug 2015 03:04:50 GMT
Content-Type: text/html; charset=utf-8

Now I'm really confused. Using Chrome on my desktop and my phone, the
address bar shows https://www.site1.com

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



More information about the nginx mailing list