Browse Source

[doc] mod_compress -> mod_deflate

master
Glenn Strauss 11 months ago
parent
commit
672891a7d6
  1. 2
      doc/config/conf.d/Makefile.am
  2. 14
      doc/config/conf.d/deflate.conf
  3. 4
      doc/config/lighttpd.conf
  4. 6
      doc/config/modules.conf

2
doc/config/conf.d/Makefile.am

@ -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 \

14
doc/config/conf.d/compress.conf → doc/config/conf.d/deflate.conf

@ -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
##
#######################################################################

4
doc/config/lighttpd.conf

@ -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"

6
doc/config/modules.conf

@ -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

Loading…
Cancel
Save