Question
How to disable Letsencrypt redirect all requests to secure HTTPS access
I did the Letsencrypt installation and it works great.
I choose the option to redirect all requests to secure HTTPS access.
I saw those lines added by Letsencrypt in /etc/apache2/sites-available/000-default.conf
RewriteEngine on
RewriteCond %{SERVER_NAME} =evolutionary.co
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
Now I want to disable this feature and to have a part of website without ssl.
So I commented those lines and reloaded Apache but the redirection is still active:
http://mydomain.com still redirect to https://mydomain.com
How can I fix that?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×