Mercurial > hg > nginx-site
changeset 546:694db9597ee0
Documented the special value "*" in various "*_type" directives.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 21 Jun 2012 21:29:00 +0000 |
parents | e97b46d1842d |
children | 32dd85720515 |
files | xml/en/docs/http/ngx_http_addition_module.xml xml/en/docs/http/ngx_http_charset_module.xml xml/en/docs/http/ngx_http_gzip_module.xml xml/en/docs/http/ngx_http_ssi_module.xml xml/en/docs/http/ngx_http_sub_module.xml xml/en/docs/http/ngx_http_xslt_module.xml xml/ru/docs/http/ngx_http_addition_module.xml xml/ru/docs/http/ngx_http_charset_module.xml xml/ru/docs/http/ngx_http_gzip_module.xml xml/ru/docs/http/ngx_http_ssi_module.xml xml/ru/docs/http/ngx_http_sub_module.xml xml/ru/docs/http/ngx_http_xslt_module.xml |
diffstat | 12 files changed, 18 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_addition_module.xml +++ b/xml/en/docs/http/ngx_http_addition_module.xml @@ -72,6 +72,7 @@ after the response body. <para> Allows to add text in responses with the specified MIME types, in addition to “<literal>text/html</literal>”. +The special value “<literal>*</literal>” matches any MIME type (0.8.29). </para> </directive>
--- a/xml/en/docs/http/ngx_http_charset_module.xml +++ b/xml/en/docs/http/ngx_http_charset_module.xml @@ -166,6 +166,7 @@ application/x-javascript application/rss <para> Enables module processing in responses with the specified MIME types in addition to “<literal>text/html</literal>”. +The special value “<literal>*</literal>” matches any MIME type (0.8.29). </para> </directive>
--- a/xml/en/docs/http/ngx_http_gzip_module.xml +++ b/xml/en/docs/http/ngx_http_gzip_module.xml @@ -238,6 +238,7 @@ enables compression for all proxied requ <para> Enables gzipping of responses for the specified MIME types in addition to “<literal>text/html</literal>”. +The special value “<literal>*</literal>” matches any MIME type (0.8.29). Responses with the type “<literal>text/html</literal>” are always compressed. </para>
--- a/xml/en/docs/http/ngx_http_ssi_module.xml +++ b/xml/en/docs/http/ngx_http_ssi_module.xml @@ -75,6 +75,7 @@ if an error occurred during SSI processi <para> Enables processing of SSI commands in responses with the specified MIME types in addition to “<literal>text/html</literal>”. +The special value “<literal>*</literal>” matches any MIME type (0.8.29). </para> </directive>
--- a/xml/en/docs/http/ngx_http_sub_module.xml +++ b/xml/en/docs/http/ngx_http_sub_module.xml @@ -80,6 +80,7 @@ once or several times. <para> Enables string replacement in responses with the specified MIME types in addition to “<literal>text/html</literal>”. +The special value “<literal>*</literal>” matches any MIME type (0.8.29). </para> </directive>
--- a/xml/en/docs/http/ngx_http_xslt_module.xml +++ b/xml/en/docs/http/ngx_http_xslt_module.xml @@ -174,6 +174,7 @@ will be applied sequentially in the spec <para> Enables transformations in responses with the specified MIME types in addition to “<literal>text/xml</literal>”. +The special value “<literal>*</literal>” matches any MIME type (0.8.29). If the result of transformation is an HTML response, its MIME type is changes to “<literal>text/html</literal>”. </para>
--- a/xml/ru/docs/http/ngx_http_addition_module.xml +++ b/xml/ru/docs/http/ngx_http_addition_module.xml @@ -72,6 +72,8 @@ location / { <para> Разрешает добавлять текст в ответах с указанными MIME-типами в дополнение к “<literal>text/html</literal>”. +Специальное значение “<literal>*</literal>” соответствует любому MIME-типу +(0.8.29). </para> </directive>
--- a/xml/ru/docs/http/ngx_http_charset_module.xml +++ b/xml/ru/docs/http/ngx_http_charset_module.xml @@ -165,6 +165,8 @@ application/x-javascript application/rss <para> Разрешает работу модуля в ответах с указанными MIME-типами в дополнение к “<literal>text/html</literal>”. +Специальное значение “<literal>*</literal>” соответствует любому MIME-типу +(0.8.29). </para> </directive>
--- a/xml/ru/docs/http/ngx_http_gzip_module.xml +++ b/xml/ru/docs/http/ngx_http_gzip_module.xml @@ -237,6 +237,8 @@ gzip_types text/plain application/x <para> Разрешает сжатие ответа методом gzip для указанных MIME-типов в дополнение к “<literal>text/html</literal>”. +Специальное значение “<literal>*</literal>” соответствует любому MIME-типу +(0.8.29). Ответы с типом “<literal>text/html</literal>” сжимаются всегда. </para>
--- a/xml/ru/docs/http/ngx_http_ssi_module.xml +++ b/xml/ru/docs/http/ngx_http_ssi_module.xml @@ -75,6 +75,8 @@ location / { <para> Разрешает обработку команд SSI в ответах с указанными MIME-типами в дополнение к “<literal>text/html</literal>”. +Специальное значение “<literal>*</literal>” соответствует любому MIME-типу +(0.8.29). </para> </directive>
--- a/xml/ru/docs/http/ngx_http_sub_module.xml +++ b/xml/ru/docs/http/ngx_http_sub_module.xml @@ -80,6 +80,8 @@ location / { <para> Разрешает замену строк в ответах с указанными MIME-типами в дополнение к “<literal>text/html</literal>”. +Специальное значение “<literal>*</literal>” соответствует любому MIME-типу +(0.8.29). </para> </directive>
--- a/xml/ru/docs/http/ngx_http_xslt_module.xml +++ b/xml/ru/docs/http/ngx_http_xslt_module.xml @@ -172,6 +172,8 @@ location / { <para> Разрешает преобразования в ответах с указанными MIME-типами в дополнение к “<literal>text/xml</literal>”. +Специальное значение “<literal>*</literal>” соответствует любому MIME-типу +(0.8.29). Если в результате преобразования выдаётся HTML-ответ, то его MIME-тип меняется на “<literal>text/html</literal>”. </para>