I have redirected all https requests to http. Here you can see what I have done in the nginx config file:
*
#redirecting https to http::
server { listen 443 ssl;
listen [::]:443 ssl;
server_name example.com www.example.com
ssl_certificate /etc/nginx/sd.crt;
ssl_certificate_key /etc/nginx/sd.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
rewrite ^(.*) http://www.example.com$1 permanent; }
#redirecting non-www to www::
server {
listen 80;
listen [::]:80;
server_name example.com; return 301 http://www.example.com$request_uri; }
#server block
server {
listen 80;
listen [::]:80;
server_name www.example.com;
*
So the problem is that users get a Redirect Error, because the browser thinks that my website is still available under https. If I delete the cache I can access to my website, but how I can avoid this Redirect Error, most users think that my site is offline. And the cache will be deleted automatically after a few days... too long!