summaryrefslogtreecommitdiff
path: root/zuul/share/lighttpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'zuul/share/lighttpd.conf')
-rw-r--r--zuul/share/lighttpd.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/zuul/share/lighttpd.conf b/zuul/share/lighttpd.conf
new file mode 100644
index 00000000..3d2ce72a
--- /dev/null
+++ b/zuul/share/lighttpd.conf
@@ -0,0 +1,24 @@
+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["host"] == "127.0.0.1" {
+ server.document-root = "/var/www/"
+ $HTTP["url"] =~ "^/logs/" {
+ dir-listing.activate = "enable"
+ }
+}