diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-12-11 17:57:23 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-05-14 15:09:39 +0000 |
commit | 14758300d8ed79961fac9dd6b800111ea7184739 (patch) | |
tree | e9e7e17a1d1e0607aba87a431cf525e6f5d5a747 /mason/share/lighttpd.conf | |
parent | c53845a57b1c0c3df3e9dc9c6d6c33121d54e82e (diff) | |
download | definitions-14758300d8ed79961fac9dd6b800111ea7184739.tar.gz |
Make mason.configure install the new Mason config
Diffstat (limited to 'mason/share/lighttpd.conf')
-rw-r--r-- | mason/share/lighttpd.conf | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mason/share/lighttpd.conf b/mason/share/lighttpd.conf new file mode 100644 index 00000000..2e9f6350 --- /dev/null +++ b/mason/share/lighttpd.conf @@ -0,0 +1,21 @@ +server.document-root = "/var/www/" + +server.port = 80 + +server.username = "www" +server.groupname = "www" + +mimetype.assign = ( + ".html" => "text/html", + ".txt" => "text/plain", + ".log" => "text/plain", + ".jpg" => "image/jpeg", + ".png" => "image/png" +) + +static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc" ) +index-file.names = ( "index.html" ) + +$HTTP["url"] =~ "^/logs/" { + dir-listing.activate = "enable" +} |