summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-01-23 17:33:59 +0000
committermh <mh@immerda.ch>2009-01-23 17:33:59 +0000
commit83970abe570f26acc988207db3d2c2228e08f2c0 (patch)
tree7b73a2c08ade3d3c081deb0016448be77181f57d /files
parent3e2ee6c783fc6d669b7e63b702fb0a670f56b062 (diff)
downloadpuppet-lighttpd-83970abe570f26acc988207db3d2c2228e08f2c0.tar.gz
puppet-lighttpd-83970abe570f26acc988207db3d2c2228e08f2c0.tar.bz2
updating lighttpd config
Diffstat (limited to 'files')
-rw-r--r--files/lighttpd.conf9
1 files changed, 8 insertions, 1 deletions
diff --git a/files/lighttpd.conf b/files/lighttpd.conf
index 5be063e..d48fc00 100644
--- a/files/lighttpd.conf
+++ b/files/lighttpd.conf
@@ -37,7 +37,7 @@ server.modules = (
## a static document-root, for virtual-hosting take look at the
## server.virtual-* options
-server.document-root = "/srv/www/lighttpd/"
+server.document-root = "/var/www/lighttpd/"
## where to send error-messages to
server.errorlog = "/var/log/lighttpd/error.log"
@@ -73,6 +73,7 @@ mimetype.assign = (
".ogg" => "application/ogg",
".wav" => "audio/x-wav",
".gif" => "image/gif",
+ ".jar" => "application/x-java-archive",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".png" => "image/png",
@@ -174,6 +175,8 @@ server.pid-file = "/var/run/lighttpd.pid"
## virtual directory listings
#dir-listing.activate = "enable"
+## select encoding for directory listings
+#dir-listing.encoding = "utf-8"
## enable debugging
#debug.log-request-header = "enable"
@@ -324,3 +327,7 @@ server.groupname = "lighttpd"
#include_shell "echo var.a=1"
## the above is same as:
#var.a=1
+
+## include configuration snippets, usually provided by packages
+include_shell "find /etc/lighttpd/conf.d -maxdepth 1 -name '*.conf' -exec cat {} \;"
+