version 1.1, 2013/10/14 10:32:47
|
version 1.1.1.2, 2016/11/02 10:35:00
|
Line 15 server.breakagelog = env.SRCDIR + "/tmp/lightt
|
Line 15 server.breakagelog = env.SRCDIR + "/tmp/lightt
|
server.name = "www.example.org" |
server.name = "www.example.org" |
|
|
server.modules = ( |
server.modules = ( |
"mod_compress" | "mod_compress", |
) |
) |
|
|
######################## MODULE CONFIG ############################ |
######################## MODULE CONFIG ############################ |
Line 28 mimetype.assign = (
|
Line 28 mimetype.assign = (
|
$HTTP["host"] == "cache.example.org" { |
$HTTP["host"] == "cache.example.org" { |
compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/" |
compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/" |
} |
} |
compress.filetype = ("text/plain", "text/html") | compress.filetype = ( |
| "text/plain", |
| "text/html", |
| ) |
|
|
compress.allowed-encodings = ( "gzip", "deflate" ) | compress.allowed-encodings = ( |
| "gzip", |
| "deflate", |
| ) |