Nginx how to redirect from https to http when not support https anymore -
my site https, , removed certificates because don't need https anymore. need way redirect visitors http version because maybe have domain bookmarked https version. tried this:
server {       listen 443;       server_name example.com;       ssl on;       rewrite ^ http://$server_name$request_uri? permanent;  }   but when trying go https://example.com it's stuck. doing wrong?
 
 
  
Comments
Post a Comment