X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Flighttpd%2Fvhosts%2Fstdout-nl;fp=etc%2Flighttpd%2Fvhosts%2Fstdout-nl;h=98e286e7652b7cc3f6dc46b04384bd45cc191bc2;hb=b3e4ccffd2ec8225fcf8b9fa40a9279e2af3e31b;hp=5ca8a714acf1c0f0fabe205145870dbcd407d99f;hpb=56d331bf17b5fc6a53fafd808c129545bbd1b13f;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/lighttpd/vhosts/stdout-nl b/etc/lighttpd/vhosts/stdout-nl index 5ca8a71..98e286e 100644 --- a/etc/lighttpd/vhosts/stdout-nl +++ b/etc/lighttpd/vhosts/stdout-nl @@ -11,21 +11,8 @@ $HTTP["host"] =~ ".stdout.nl$" { )) ) - $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" ) - } } }