summaryrefslogtreecommitdiff
path: root/mason/share/lighttpd.conf
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-12-11 17:57:23 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2015-01-07 17:23:37 +0000
commitca878a6ff50c6217a7a4fc1a6d11b507bd2db504 (patch)
tree80aff82e0039e840f2a72c83ad74316895bfdfaf /mason/share/lighttpd.conf
parent2229fda0c6103754a8d134ab009e2811e1e934cc (diff)
downloaddefinitions-ca878a6ff50c6217a7a4fc1a6d11b507bd2db504.tar.gz
Make mason.configure install the new Mason config
Diffstat (limited to 'mason/share/lighttpd.conf')
-rw-r--r--mason/share/lighttpd.conf21
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"
+}