[doc] mod_compress -> mod_deflate

This commit is contained in:
Glenn Strauss 2020-07-20 03:54:26 -04:00
parent 8dd33a72dd
commit 672891a7d6
4 changed files with 13 additions and 13 deletions

View File

@ -2,8 +2,8 @@ EXTRA_DIST=access_log.conf \
auth.conf \
cgi.conf \
cml.conf \
compress.conf \
debug.conf \
deflate.conf \
dirlisting.conf \
evhost.conf \
expire.conf \

View File

@ -3,9 +3,9 @@
## Output Compression
## --------------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/docs_modcompress
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/docs_moddeflate
##
server.modules += ( "mod_compress" )
server.modules += ( "mod_deflate" )
##
## where should the compressed files be cached?
@ -14,18 +14,18 @@ server.modules += ( "mod_compress" )
## This directory should be changed per vhost otherwise you can
## run into trouble with overlapping filenames
##
compress.cache-dir = cache_dir + "/compress"
deflate.cache-dir = cache_dir + "/compress"
##
## FileTypes to compress.
##
compress.filetype = ("text/plain", "text/html")
deflate.filetype = ("text/plain", "text/html")
##
## Maximum filesize that will be compressed.
## Default is 0, which means unlimited file size.
## Maximum response size that will be compressed.
## Default is 0, which uses internal default of 128 MB as limit.
##
#compress.max-filesize = 0
#deflate.max-compress-size = 0
##
#######################################################################

View File

@ -53,10 +53,10 @@ var.conf_dir = "/etc/lighttpd"
var.vhosts_dir = server_root + "/vhosts"
##
## Cache for mod_compress
## Cache for mod_deflate
##
## used in:
## conf.d/compress.conf
## conf.d/deflate.conf
##
var.cache_dir = "/var/cache/lighttpd"

View File

@ -15,7 +15,7 @@
## Modules, which are pulled in via conf.d/*.conf
##
## - mod_accesslog -> conf.d/access_log.conf
## - mod_compress -> conf.d/compress.conf
## - mod_deflate -> conf.d/deflate.conf
## - mod_status -> conf.d/status.conf
## - mod_webdav -> conf.d/webdav.conf
## - mod_cml -> conf.d/cml.conf
@ -85,9 +85,9 @@ server.modules = (
#include "conf.d/webdav.conf"
##
## mod_compress
## mod_deflate
##
#include "conf.d/compress.conf"
#include "conf.d/deflate.conf"
##
## mod_userdir