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 - Autoloader issue not returning Class -

ruby - Prevent Custom Validation Error on Association -

c++ - Why am i getting wrong values when performing PE base relocation? -