diff options
Diffstat (limited to 'data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/compress.conf')
-rw-r--r-- | data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/compress.conf | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/compress.conf b/data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/compress.conf new file mode 100644 index 000000000..e0667b62a --- /dev/null +++ b/data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/compress.conf @@ -0,0 +1,31 @@ +####################################################################### +## +## Output Compression +## -------------------- +## +## See https://redmine.lighttpd.net/projects/lighttpd/wiki/docs_modcompress +## +server.modules += ( "mod_compress" ) + +## +## where should the compressed files be cached? +## see the base config for the declaration of the variable. +## +## This directory should be changed per vhost otherwise you can +## run into trouble with overlapping filenames +## +compress.cache-dir = cache_dir + "/compress" + +## +## FileTypes to compress. +## +compress.filetype = ("text/plain", "text/html") + +## +## Maximum filesize that will be compressed. +## Default is 0, which means unlimited file size. +## +#compress.max-filesize = 0 + +## +####################################################################### |