changeset 1608:15300c606f70

Translated the "proxy_cache_convert_head" directive into Russian.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 24 Nov 2015 22:31:33 +0300
parents c1da9fd2824a
children 887ce78207ac
files xml/ru/docs/http/ngx_http_proxy_module.xml
diffstat 1 files changed, 20 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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="42">
+        rev="43">
 
 <section id="summary">
 
@@ -198,6 +198,25 @@ proxy_cache_bypass $http_pragma    $http
 </directive>
 
 
+<directive name="proxy_cache_convert_head">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>on</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.9.7</appeared-in>
+
+<para>
+Разрешает или запрещает преобразование метода “<literal>HEAD</literal>”
+в “<literal>GET</literal>” для кэширования.
+Если преобразование выключено, то
+необходимо, чтобы <link id="proxy_cache_key">ключ кэширования</link>
+включал в себя <var>$request_method</var>.
+</para>
+
+</directive>
+
+
 <directive name="proxy_cache_key">
 <syntax><value>строка</value></syntax>
 <default>$scheme$proxy_host$request_uri</default>