Virtualmin --> Services --> Configure Website --> Edit Directives
RewriteEngine On
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [R]
Restart Apache