Virtualmin Configuration --> SSL Setting --> Redirect HTTP to HTTPS by default (Cannot work)

Virtualmin Configuration --> SSL Setting --> Redirect HTTP to HTTPS by default -> I have ticked “Yes”. However, when I type domain.com/webmail (roundcube), it still stays at the http site. How can I do to make it auto redirect to https?