How To Redirect All OpenLiteSpeed HTTP Traffic To HTTPS

First login to the OpenLiteSpeed Web Admin Console.
Click on “Configuration” and then on “Virtual Hosts” in the top navigation.
Click on the virtual host you would like to redirect all traffic for.
Click on “Rewrite” from the sub top navigation bar.
Click on “Edit” in the top right of the “Rewrite Condition” box and change “Enable Rewrite” from No to Yes. Then click on “Save”.
Click on “Edit” in the top right of the “Rewrite Rules” and enter the following information into the box:
RewriteCond %{SERVER_PORT} ^80$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
Save
      Perfect Servicce
      Logo
      Nhập sản phẩm cần tìm
      Generic filters
      Compare items
      • Total (0)
      Compare
      0
      Shopping cart