Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_scgi_module.xml @ 1796:1d576e8d6ead
Clarified the "levels" parameter of proxy_cache_path and friends.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 04 Jul 2016 14:29:09 +0300 |
parents | be371be7a5c8 |
children | 621d0c682113 |
comparison
equal
deleted
inserted
replaced
1795:d4a584797f51 | 1796:1d576e8d6ead |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_scgi_module" | 10 <module name="Module ngx_http_scgi_module" |
11 link="/en/docs/http/ngx_http_scgi_module.html" | 11 link="/en/docs/http/ngx_http_scgi_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="24"> | 13 rev="25"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_scgi_module</literal> module allows passing | 18 The <literal>ngx_http_scgi_module</literal> module allows passing |
347 Sets the path and other parameters of a cache. | 347 Sets the path and other parameters of a cache. |
348 Cache data are stored in files. | 348 Cache data are stored in files. |
349 The file name in a cache is a result of | 349 The file name in a cache is a result of |
350 applying the MD5 function to the | 350 applying the MD5 function to the |
351 <link id="scgi_cache_key">cache key</link>. | 351 <link id="scgi_cache_key">cache key</link>. |
352 The <literal>levels</literal> parameter defines hierarchy levels of a cache. | 352 The <literal>levels</literal> parameter defines hierarchy levels of a cache: |
353 from 1 to 3, each level accepts values 1 or 2. | |
353 For example, in the following configuration | 354 For example, in the following configuration |
354 <example> | 355 <example> |
355 scgi_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m; | 356 scgi_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m; |
356 </example> | 357 </example> |
357 file names in a cache will look like this: | 358 file names in a cache will look like this: |