Button to enable automatic "https"-redirection — CyberPanel - WebHosting Control Panel for OpenLiteSpeed

Button to enable automatic "https"-redirection

edited February 2019 in Feature Request

with this post I want to suggest an button, that enables automatic https redirection in the Rewrite Rules. The button should be placed at the SSL settings of an individual website.

I think it must be relativly easy to implement and it improves the user experience. For now I have to add something like this in the Rewrite Rules, but it is not convenient for newbies:

rewriteCond %{HTTPS} !on
rewriteCond %{HTTP:X-Forwarded-Proto} !https
rewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

Thanks in advance and kind regards!


Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!