Koala Frameworks supports automatic redirects to https.
server.https = true
only for specific domains
This is required if not all domains have a certificate. If not configured it is assumed that all domains have a certificate.
server.httpsDomains = www.example.com
server.httpsDomains = *.foo.com
Https for all requests (only < 3.10)
to force https for all requests (not just for the points above) add the following.