From 672891a7d6d7cf70f3577d2cfaad8927c7810209 Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Mon, 20 Jul 2020 03:54:26 -0400 Subject: [doc] mod_compress -> mod_deflate --- doc/config/conf.d/Makefile.am | 2 +- doc/config/conf.d/compress.conf | 31 ------------------------------- doc/config/conf.d/deflate.conf | 31 +++++++++++++++++++++++++++++++ doc/config/lighttpd.conf | 4 ++-- doc/config/modules.conf | 6 +++--- 5 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 doc/config/conf.d/compress.conf create mode 100644 doc/config/conf.d/deflate.conf (limited to 'doc') diff --git a/doc/config/conf.d/Makefile.am b/doc/config/conf.d/Makefile.am index 165c17e2..5616473c 100644 --- a/doc/config/conf.d/Makefile.am +++ b/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 \ diff --git a/doc/config/conf.d/compress.conf b/doc/config/conf.d/compress.conf deleted file mode 100644 index e0667b62..00000000 --- a/doc/config/conf.d/compress.conf +++ /dev/null @@ -1,31 +0,0 @@ -####################################################################### -## -## 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 - -## -####################################################################### diff --git a/doc/config/conf.d/deflate.conf b/doc/config/conf.d/deflate.conf new file mode 100644 index 00000000..4f3913f7 --- /dev/null +++ b/doc/config/conf.d/deflate.conf @@ -0,0 +1,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 + +## +####################################################################### diff --git a/doc/config/lighttpd.conf b/doc/config/lighttpd.conf index 56ecc3c6..74b0d54c 100644 --- a/doc/config/lighttpd.conf +++ b/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" diff --git a/doc/config/modules.conf b/doc/config/modules.conf index 34792adf..6a118b58 100644 --- a/doc/config/modules.conf +++ b/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 -- cgit v1.2.1