From: wbudic Date: Sun, 30 Aug 2020 06:37:21 +0000 (+1000) Subject: Update lighttpd.conf X-Git-Url: https://lifelog.hopto.org/gitweb/?a=commitdiff_plain;h=41bcd584392fdb18d3a964e6d1a42c3cedd8da1a;p=LifeLog.git Update lighttpd.conf --- diff --git a/lighttpd.conf b/lighttpd.conf index dcb8225..ace0eba 100644 --- a/lighttpd.conf +++ b/lighttpd.conf @@ -1,14 +1,14 @@ -server.document-root = "/home/will/dev/lighttpd/LifeLog/htdocs" +server.document-root = "/home/will/dev/LifeLog/htdocs/cgi-bin" -server.port = 3000 +server.port = 80 mimetype.assign = ( - ".html" => "text/html", + ".html" => "text/html", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png", ".css" => "text/css", - ".js" => "text/javascript" + ".js" => "text/javascript" ) server.modules = ( @@ -21,13 +21,27 @@ server.modules = ( "mod_setenv", "mod_rewrite", "mod_alias", -"mod_cgi" +"mod_cgi", +"mod_openssl" ) index-file.names = ( "index.html" ) -server.breakagelog = "/home/will/dev/lighttpd/breakage.log" +server.breakagelog = "/home/will/dev/LifeLog/dbLifeLog/lighttpd_server.log" cgi.assign = ( ".pl" => "/usr/bin/perl", ".cgi" => "/usr/bin/perl" ) cgi.x-sendfile = "disable" +$SERVER["socket"] == ":443" { + +ssl.engine = "enable" +ssl.pemfile = "/home/will/dev/elite.net.pem" + +# ssl.ca-file = "/etc/lighttpd/ssl/CA_issuing.crt" + +server.name = "elite.net" + +} + + +