redirect http to https with virtualmin

Subject:

Virtualmin --> Services --> Configure Website --> Edit Directives

RewriteEngine On

RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [R]

Restart Apache

2018-01-10 14:26:22gstlouis