Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_proxy_module.xml @ 1599:12714bbf9230
Documented the "proxy_cache_convert_head" directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 12 Nov 2015 20:02:07 +0300 |
parents | c2a0a18e65ba |
children | 2d60caa1c1dd |
comparison
equal
deleted
inserted
replaced
1598:430261d33e38 | 1599:12714bbf9230 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_proxy_module" | 10 <module name="Module ngx_http_proxy_module" |
11 link="/en/docs/http/ngx_http_proxy_module.html" | 11 link="/en/docs/http/ngx_http_proxy_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="42"> | 13 rev="43"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_proxy_module</literal> module allows passing | 18 The <literal>ngx_http_proxy_module</literal> module allows passing |
191 <example> | 191 <example> |
192 proxy_cache_bypass $cookie_nocache $arg_nocache$arg_comment; | 192 proxy_cache_bypass $cookie_nocache $arg_nocache$arg_comment; |
193 proxy_cache_bypass $http_pragma $http_authorization; | 193 proxy_cache_bypass $http_pragma $http_authorization; |
194 </example> | 194 </example> |
195 Can be used along with the <link id="proxy_no_cache"/> directive. | 195 Can be used along with the <link id="proxy_no_cache"/> directive. |
196 </para> | |
197 | |
198 </directive> | |
199 | |
200 <directive name="proxy_cache_convert_head"> | |
201 <syntax><literal>on</literal> | <literal>off</literal></syntax> | |
202 <default>on</default> | |
203 <context>http</context> | |
204 <context>server</context> | |
205 <context>location</context> | |
206 <appeared-in>1.9.7</appeared-in> | |
207 | |
208 <para> | |
209 Enables or disables the conversion of the “<literal>HEAD</literal>” method | |
210 to “<literal>GET</literal>” for caching. | |
211 When the conversion is disabled, the | |
212 <link id="proxy_cache_key">cache key</link> should be configured | |
213 to include the <var>$request_method</var>. | |
196 </para> | 214 </para> |
197 | 215 |
198 </directive> | 216 </directive> |
199 | 217 |
200 | 218 |