Mercurial > hg > nginx-site
diff xml/ru/docs/http/ngx_http_headers_module.xml @ 271:4c6d2c614d2c
Cleaned up XML tag mess:
- all of <parameter> and <code>, and some of <dirname>, <value>,
and <command> were replaced by <literal>;
- the rest of <dirname> were replaced by links;
- <argument> were replaced by <value>;
- <value> is now rendered in HTML in italic;
- <literal> and <path> can now contain <value>.
Cleaned up terminology mess:
- directives take "parameters".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 23 Dec 2011 17:29:59 +0000 |
parents | bfe3eff81d04 |
children | 7b6155ac373b |
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_headers_module.xml +++ b/xml/ru/docs/http/ngx_http_headers_module.xml @@ -35,7 +35,7 @@ <section name="Директивы" id="directives"> <directive name="add_header"> -<syntax><value>название значение</value></syntax> +<syntax><value>название</value> <value>значение</value></syntax> <default/> <context>http, server, location</context> @@ -49,7 +49,11 @@ <directive name="expires"> -<syntax><value>[modified]</value> <value>[время|epoch|max|off]</value></syntax> +<syntax>[<literal>modified</literal>] <value>время</value></syntax> +<syntax> + <literal>epoch</literal> | + <literal>max</literal> | + <literal>off</literal></syntax> <default>off</default> <context>http, server, location</context>