[mod_proxy] add unix domain socket support (fixes #2653)
[lighttpd.git] / tests / mod-compress.conf
blobb7c3f2cb3f77acf12635f3e0a2dffc6f6df6261a
1 debug.log-request-handling   = "enable"
2 debug.log-response-header   = "disable"
3 debug.log-request-header   = "disable"
5 server.document-root         = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
6 server.pid-file              = env.SRCDIR + "/tmp/lighttpd/lighttpd.pid"
8 ## bind to port (default: 80)
9 server.port                 = 2048
11 ## bind to localhost (default: all interfaces)
12 server.bind                = "localhost"
13 server.errorlog            = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
14 server.breakagelog         = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
15 server.name                = "www.example.org"
17 server.modules = (
18         "mod_compress"
21 ######################## MODULE CONFIG ############################
23 mimetype.assign = (
24         ".html" => "text/html",
25         ".txt"  => "text/plain; charset=utf-8",
28 $HTTP["host"] == "cache.example.org" {
29         compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
31 compress.filetype = ("text/plain", "text/html")
33 compress.allowed-encodings = ( "gzip", "deflate" )