Redirect from HTTP to HTTPS does not work

StSch nginx-forum at nginx.us
Tue Sep 8 12:00:45 UTC 2015


> Use "curl -i" to make the http request. See the response.

> Use (for example) $host instead of $server_name.

Thank you very much for your immediate response and sorry for my late reply.
"curl -i" was very useful and using "$host" instead of "$server_name" indeed
solved my problem. Thank you very much for your help.

Greetings from South-Germany,
Steffen

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



More information about the nginx mailing list