Annotation of embedaddon/lighttpd/tests/mod-compress.conf, revision 1.1.1.2
1.1 misho 1: debug.log-request-handling = "enable"
2: debug.log-response-header = "disable"
3: debug.log-request-header = "disable"
4:
5: server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
6: server.pid-file = env.SRCDIR + "/tmp/lighttpd/lighttpd.pid"
7:
8: ## bind to port (default: 80)
9: server.port = 2048
10:
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"
16:
17: server.modules = (
1.1.1.2 ! misho 18: "mod_compress",
1.1 misho 19: )
20:
21: ######################## MODULE CONFIG ############################
22:
23: mimetype.assign = (
24: ".html" => "text/html",
25: ".txt" => "text/plain; charset=utf-8",
26: )
27:
28: $HTTP["host"] == "cache.example.org" {
29: compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
30: }
1.1.1.2 ! misho 31: compress.filetype = (
! 32: "text/plain",
! 33: "text/html",
! 34: )
1.1 misho 35:
1.1.1.2 ! misho 36: compress.allowed-encodings = (
! 37: "gzip",
! 38: "deflate",
! 39: )
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>