# HG changeset patch # User Vladimir Homutov # Date 1347442597 0 # Node ID 6d6aa03e43faebc566d8a4b5bb4644c40a7c25c9 # Parent 08140f6b79642465720246cd5f39d5d953d06e1f Actually added gunzip module documentation files. diff --git a/xml/en/docs/http/ngx_http_gunzip_module.xml b/xml/en/docs/http/ngx_http_gunzip_module.xml new file mode 100644 --- /dev/null +++ b/xml/en/docs/http/ngx_http_gunzip_module.xml @@ -0,0 +1,80 @@ + + + + + + + + +
+ + +The ngx_http_gunzip_module module is a filter that +decompresses responses returned with the +“Content-Encoding: gzip” for clients that don’t support it. +It may be useful if it is preferred to store the data compressed +(to save space or disk/network IO), but it is undesirable +to penalize clients without the gzip support. + + + +This module is not built by default, it should be enabled with the +--with-http_gunzip_module +configuration parameter. + + +
+ + +
+ + + +location /storage/ { + gunzip on; + ... +} + + + +
+ + +
+ + +on | off +off +http +server +location + + +Enables or disables decompression of gzipped responses. + + + + + + +number size +32 4k|16 8k +http +server +location + + +Specifies the number and size of buffers available for decompression. + + + + +
+ +
diff --git a/xml/ru/docs/http/ngx_http_gunzip_module.xml b/xml/ru/docs/http/ngx_http_gunzip_module.xml new file mode 100644 --- /dev/null +++ b/xml/ru/docs/http/ngx_http_gunzip_module.xml @@ -0,0 +1,82 @@ + + + + + + + + +
+ + +Модуль ngx_http_gunzip_module это фильтр, распаковывающий +ответы, возвращаемые с “Content-Encoding: gzip”, +для тех клиентов, которые не поддерживают данный метод. +Это может быть полезно, если предпочтительно хранить данные сжатыми +(чтобы сэкономить пространство или дисковые/сетевые операции +ввода/вывода), но при этом нежелательно причинять неудобства клиентам, +которые не поддерживают сжатие методом gzip. + + + +По умолчанию этот модуль не собирается, его сборку необходимо +разрешить с помощью конфигурационного параметра +--with-http_gunzip_module. + + +
+ + +
+ + + +location /storage/ { + gunzip on; + ... +} + + + +
+ + +
+ + +on | off +off +http +server +location + + +Разрешает или запрещает распаковку ответов, сжатых методом +“gzip”. + + + + + + +число размер +32 4k|16 8k +http +server +location + + +Задаёт число и размер буферов, доступных для распаковки. + + + + +
+ +