summaryrefslogtreecommitdiff
path: root/doc/config/conf.d/deflate.conf
blob: 4f3913f7dbdb42c3965d7e153b9c0c6a4df66fe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#######################################################################
##
##  Output Compression 
## --------------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/docs_moddeflate
##
server.modules += ( "mod_deflate" )

##
## 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
##
deflate.cache-dir         = cache_dir + "/compress"

##
## FileTypes to compress.
## 
deflate.filetype          = ("text/plain", "text/html")

##
## Maximum response size that will be compressed.
## Default is 0, which uses internal default of 128 MB as limit.
## 
#deflate.max-compress-size = 0

##
#######################################################################