Mercurial > hg > nginx-site
changeset 799:9e5847af3b2d
Documented the "proxy_headers_hash_bucket/max_size" directives.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Wed, 26 Dec 2012 12:18:18 +0000 |
parents | bc4923434591 |
children | 015981070efd |
files | xml/en/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml |
diffstat | 2 files changed, 74 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_proxy_module.xml +++ b/xml/en/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_proxy_module" link="/en/docs/http/ngx_http_proxy_module.html" lang="en" - rev="6"> + rev="7"> <section id="summary"> @@ -610,6 +610,42 @@ proxy_cookie_path ~*^/user/([^/]+) /u/$1 </directive> +<directive name="proxy_headers_hash_bucket_size"> +<syntax><value>size</value></syntax> +<default>64</default> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +Sets the bucket <value>size</value> for hash tables +used by the <link id="proxy_hide_header"/> and <link id="proxy_set_header"/> +directives. +Details of setting up hash tables are provided in a separate +<link doc="../hash.xml">document</link>. +</para> + +</directive> + + +<directive name="proxy_headers_hash_max_size"> +<syntax><value>size</value></syntax> +<default>512</default> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +Sets the maximum <value>size</value> of hash tables +used by the <link id="proxy_hide_header"/> and <link id="proxy_set_header"/> +directives. +Details of setting up hash tables are provided in a separate +<link doc="../hash.xml">document</link>. +</para> + +</directive> + + <directive name="proxy_hide_header"> <syntax><value>field</value></syntax> <default/>
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_proxy_module" link="/ru/docs/http/ngx_http_proxy_module.html" lang="ru" - rev="6"> + rev="7"> <section id="summary"> @@ -608,6 +608,42 @@ proxy_cookie_path ~*^/user/([^/]+) /u/$1 </directive> +<directive name="proxy_headers_hash_bucket_size"> +<syntax><value>размер</value></syntax> +<default>64</default> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +Задаёт <value>размер</value> корзины для хэш-таблиц, +используемых директивами <link id="proxy_hide_header"/> +и <link id="proxy_set_header"/>. +Подробнее настройка хэш-таблиц обсуждается в отдельном +<link doc="../hash.xml">документе</link>. +</para> + +</directive> + + +<directive name="proxy_headers_hash_max_size"> +<syntax><value>размер</value></syntax> +<default>512</default> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +Задаёт максимальный <value>размер</value> хэш-таблиц, +используемых директивами <link id="proxy_hide_header"/> и +<link id="proxy_set_header"/>. +Подробнее настройка хэш-таблиц обсуждается в отдельном +<link doc="../hash.xml">документе</link>. +</para> + +</directive> + + <directive name="proxy_hide_header"> <syntax><value>поле</value></syntax> <default/>