I would like to redirect specific domains from http to the corresponding https address in lighttpd. I tried out the tutorial on the lighttpd page but there it is not written for a specific domain. This is what I want:
$HTTP["host"] =~ "secure.example.com" {
server.document-root = "/var/www/secure.example.com"
// IF NOT SSL, REDIRECT TO SSL
}
Thanks for your help.