X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Flighttpd%2Flighttpd.conf;h=c410fb93533153c079da630b45bb97d97c51b3d7;hb=fb8291e5712a9bf3cccb4a88a7467e9e691ba5cb;hp=5a0dc8d8d7046fe7ffc7c438de5185ee882a8d35;hpb=89630560bf6babcf5b08fa154a5534e33df4112f;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/lighttpd/lighttpd.conf b/etc/lighttpd/lighttpd.conf index 5a0dc8d..c410fb9 100644 --- a/etc/lighttpd/lighttpd.conf +++ b/etc/lighttpd/lighttpd.conf @@ -69,6 +69,19 @@ server.groupname = "www-data" # Make mysqll frontend available in all domains alias.url += ("/mysql" => "/usr/share/phpmyadmin") +$SERVER["socket"] == ":443" { + ssl.engine = "enable" + # The CA certificates (in particular, this contains the intermediate + # certificate used by startcom). It seems that even without this + # option, it already works, probably because openssl ships some + # certificates. But, let's put it here to be safe anyway. + ssl.cafile = "/etc/lighttpd/ssl/ca/startssl-all-ca.pem" + # Use the mail.stdout.nl certificate as the default certificate (for + # non-SNI browsers and domains without their own certificate), since + # it is currently the only one we have anyway. + ssl.pemfile = "/etc/lighttpd/ssl/mail.stdout.nl.pem" +} + #### external configuration files ## mimetype mapping include_shell var.conf-dir + "/scripts/create-mime.assign.pl"