In my vhost I have:
Redirect permanent / https://cloud.domain.com/
and after a server reload that works.
But I do also have this in my config.php
'overwrite.cli.url' => 'https://cloud.domain.com:443',
'overwriteprotocol' => 'https',
Because I too was originally struggling.