Mercurial > hg > nginx-site
diff xml/ru/docs/http/ngx_http_gzip_module.xml @ 102:c76a257f3fd4
The directive name is now automatically printed in <default> and <syntax>.
Specifying <default> is made non-optional.
Visible changes:
- "types" and "proxy_set_header" get proper defaults (not yet displayed
nicely);
- "fastcgi_hide_header", "fastcgi_ignore_headers", "fastcgi_pass_header",
"proxy_hide_header", "proxy_ignore_headers", and "proxy_pass_header"
now have their (empty) defaults documented;
- mentions of "fastcgi_redirect_errors" and "proxy_redirect_errors" which
are long unsupported were removed.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 19 Oct 2011 05:15:24 +0000 |
parents | 1d315ef37215 |
children | 56457a474903 |
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_gzip_module.xml Tue Oct 18 12:19:06 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_gzip_module.xml Wed Oct 19 05:15:24 2011 +0000 @@ -37,8 +37,8 @@ <section name="Директивы" id="directives"> <directive name="gzip"> -<syntax>gzip <value>on|off</value></syntax> -<default>gzip off</default> +<syntax><value>on|off</value></syntax> +<default>off</default> <context>http, server, location, if в location</context> <para> @@ -49,8 +49,8 @@ <directive name="gzip_buffers"> -<syntax>gzip_buffers <value>число размер</value></syntax> -<default>gzip_buffers 32 4k/16 8k</default> +<syntax><value>число размер</value></syntax> +<default>32 4k/16 8k</default> <context>http, server, location</context> <para> @@ -65,8 +65,8 @@ <directive name="gzip_comp_level"> -<syntax>gzip_comp_level <value>1..9</value></syntax> -<default>gzip_comp_level 1</default> +<syntax><value>1..9</value></syntax> +<default>1</default> <context>http, server, location</context> <para> @@ -77,7 +77,7 @@ <directive name="gzip_disable"> -<syntax>gzip_disable <value>regex [regex ...]</value></syntax> +<syntax><value>regex [regex ...]</value></syntax> <default/> <context>http, server, location</context> @@ -96,8 +96,8 @@ <directive name="gzip_min_length"> -<syntax>gzip_min_length <value>длина</value></syntax> -<default>gzip_min_length 20</default> +<syntax><value>длина</value></syntax> +<default>20</default> <context>http, server, location</context> <para> @@ -110,8 +110,8 @@ <directive name="gzip_http_version"> -<syntax>gzip_http_version <value>1.0|1.1</value></syntax> -<default>gzip_http_version 1.1</default> +<syntax><value>1.0|1.1</value></syntax> +<default>1.1</default> <context>http, server, location</context> <para> @@ -122,8 +122,8 @@ <directive name="gzip_proxied"> -<syntax>gzip_proxied <value>[off|expired|no-cache|no-store|private|no_last_modified|no_etag|auth|any] ...</value></syntax> -<default>gzip_proxied off</default> +<syntax><value>[off|expired|no-cache|no-store|private|no_last_modified|no_etag|auth|any] ...</value></syntax> +<default>off</default> <context>http, server, location</context> <para> @@ -183,8 +183,8 @@ <directive name="gzip_types"> -<syntax>gzip_types <value>mime-тип [mime-тип ...]</value></syntax> -<default>gzip_types text/html</default> +<syntax><value>mime-тип [mime-тип ...]</value></syntax> +<default>text/html</default> <context>http, server, location</context> <para> @@ -196,8 +196,8 @@ <directive name="gzip_vary"> -<syntax>gzip_vary <value>on|off</value></syntax> -<default>gzip_vary off</default> +<syntax><value>on|off</value></syntax> +<default>off</default> <context>http, server, location</context> <para>