Mercurial > hg > nginx-site
changeset 725:64085bf227f6
Documented 'min_file_chunk' and 'value_length' SSI module directives.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Fri, 12 Oct 2012 13:05:46 +0000 |
parents | 0422511d9bee |
children | 7b28d6ae4539 |
files | xml/en/docs/http/ngx_http_ssi_module.xml xml/ru/docs/http/ngx_http_ssi_module.xml |
diffstat | 2 files changed, 60 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_ssi_module.xml +++ b/xml/en/docs/http/ngx_http_ssi_module.xml @@ -55,6 +55,22 @@ Enables or disables processing of SSI co </directive> +<directive name="ssi_min_file_chunk"> +<syntax><literal>size</literal></syntax> +<default>1k</default> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +Sets the minimum <value>size</value> for parts of a response stored on disk, +starting from which it makes sense to send them using +<link doc="ngx_http_core_module.xml" id="sendfile"/>. +</para> + +</directive> + + <directive name="ssi_silent_errors"> <syntax><literal>on</literal> | <literal>off</literal></syntax> <default>off</default> @@ -86,6 +102,20 @@ The special value “<literal>*</literal>” matches any MIME type (0.8.29). </directive> + +<directive name="ssi_value_length"> +<syntax><value>length</value></syntax> +<default>256</default> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +Sets the maximum length for values of parameters in SSI commands. +</para> + +</directive> + </section>
--- a/xml/ru/docs/http/ngx_http_ssi_module.xml +++ b/xml/ru/docs/http/ngx_http_ssi_module.xml @@ -55,6 +55,22 @@ location / { </directive> +<directive name="ssi_min_file_chunk"> +<syntax><literal>размер</literal></syntax> +<default>1k</default> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +Задаёт минимальный <value>размер</value> частей ответа, хранящихся +на диске, начиная с которого имеет смысл посылать их с помощью +<link doc="ngx_http_core_module.xml" id="sendfile"/>. +</para> + +</directive> + + <directive name="ssi_silent_errors"> <syntax><literal>on</literal> | <literal>off</literal></syntax> <default>off</default> @@ -87,6 +103,20 @@ location / { </directive> + +<directive name="ssi_value_length"> +<syntax><value>длина</value></syntax> +<default>256</default> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +Задаёт максимальную длину значений параметров в SSI-командах. +</para> + +</directive> + </section>