Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_proxy_module.xml @ 1190:dd4cfc6ce770
Corrected description of *_cache_path file names.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 16 May 2014 14:45:14 +0400 |
parents | f25d00109de0 |
children | 5be7716a5684 |
comparison
equal
deleted
inserted
replaced
1189:f25d00109de0 | 1190:dd4cfc6ce770 |
---|---|
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="20"> | 13 rev="21"> |
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 |
306 <context>http</context> | 306 <context>http</context> |
307 | 307 |
308 <para> | 308 <para> |
309 Sets the path and other parameters of a cache. | 309 Sets the path and other parameters of a cache. |
310 Cache data are stored in files. | 310 Cache data are stored in files. |
311 Both the key and file name in a cache are a result of | 311 The file name in a cache is a result of |
312 applying the MD5 function to the proxied URL. | 312 applying the MD5 function to the |
313 | 313 <link id="proxy_cache_key">cache key</link>. |
314 The <literal>levels</literal> parameter defines hierarchy levels of a cache. | 314 The <literal>levels</literal> parameter defines hierarchy levels of a cache. |
315 For example, in the following configuration | 315 For example, in the following configuration |
316 <example> | 316 <example> |
317 proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m; | 317 proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m; |
318 </example> | 318 </example> |