"socket" => var.site-fcgi-dir + "/php",
))
)
+
+ $HTTP["host"] == "mail.stdout.nl" {
+ alias.url += ( "/squirrel" => "/usr/share/squirrelmail" )
+
+ # Only expose parts of the hastymail directory
+ $HTTP["url"] =~ "^/hastymail(|/index.php|/templates|/js|/plugins|/images)(|/.*)$" {
+ alias.url += ( "/hastymail" => var.site-dir + "/applications/hastymail2" )
+ }
+ }
+
+ $HTTP["host"] == "mail.stdout.nl" {
+ # Specify the certificate for this domain (uses SNI)
+ ssl.pemfile = "/etc/lighttpd/ssl/mail.stdout.nl.pem"
+ # Redirect HTTP to HTTPS for mail.stdout.nl
+ $HTTP["scheme"] == "http" {
+ url.redirect = ( "^(.*)" => "https://mail.stdout.nl$1" )
+ }
+ }
}