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

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -