It's a rather odd client request, but I am wondering if this is even possible. They are wanting if a user goes to
https://domain.com/page.html it will get redirected straight to
http://domain.com/page.html, and not recieve any "is this the page you were looking for" errors in any browser, and are not interested in purchasing a ssl certificate.
I found the instructions here for doing such on this page:
http://www.jafaloo.com/2012/01/13/https-to-http-redirection-in-nginx/
server {
listen 443;
server_name example.com;
ssl on;
rewrite ^ http://$server_name$request_uri? permanent; //Magic line
[.....]
}
From my understanding it's going to attempt to establish the SSL/TLS connection before any traffic is sent. Even with that redirect above it's still going to create a "warning" message before it sends the page to the right http address.
Is this correct? or does anyone else have a suggestion?
Thanks!