changeset 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 d4a584797f51
children be868c8f6e9c
files xml/en/docs/http/ngx_http_fastcgi_module.xml xml/en/docs/http/ngx_http_proxy_module.xml xml/en/docs/http/ngx_http_scgi_module.xml xml/en/docs/http/ngx_http_uwsgi_module.xml xml/ru/docs/http/ngx_http_fastcgi_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_scgi_module.xml xml/ru/docs/http/ngx_http_uwsgi_module.xml
diffstat 8 files changed, 28 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml	Mon Sep 26 20:54:23 2016 +0300
+++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml	Mon Jul 04 14:29:09 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_fastcgi_module"
         link="/en/docs/http/ngx_http_fastcgi_module.html"
         lang="en"
-        rev="35">
+        rev="36">
 
 <section id="summary">
 
@@ -358,7 +358,8 @@
 Both the key and file name in a cache are a result of
 applying the MD5 function to the proxied URL.
 
-The <literal>levels</literal> parameter defines hierarchy levels of a cache.
+The <literal>levels</literal> parameter defines hierarchy levels of a cache:
+from 1 to 3, each level accepts values 1 or 2.
 For example, in the following configuration
 <example>
 fastcgi_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m;
--- a/xml/en/docs/http/ngx_http_proxy_module.xml	Mon Sep 26 20:54:23 2016 +0300
+++ b/xml/en/docs/http/ngx_http_proxy_module.xml	Mon Jul 04 14:29:09 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_proxy_module"
         link="/en/docs/http/ngx_http_proxy_module.html"
         lang="en"
-        rev="48">
+        rev="49">
 
 <section id="summary">
 
@@ -374,7 +374,8 @@
 The file name in a cache is a result of
 applying the MD5 function to the
 <link id="proxy_cache_key">cache key</link>.
-The <literal>levels</literal> parameter defines hierarchy levels of a cache.
+The <literal>levels</literal> parameter defines hierarchy levels of a cache:
+from 1 to 3, each level accepts values 1 or 2.
 For example, in the following configuration
 <example>
 proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m;
--- a/xml/en/docs/http/ngx_http_scgi_module.xml	Mon Sep 26 20:54:23 2016 +0300
+++ b/xml/en/docs/http/ngx_http_scgi_module.xml	Mon Jul 04 14:29:09 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_scgi_module"
         link="/en/docs/http/ngx_http_scgi_module.html"
         lang="en"
-        rev="24">
+        rev="25">
 
 <section id="summary">
 
@@ -349,7 +349,8 @@
 The file name in a cache is a result of
 applying the MD5 function to the
 <link id="scgi_cache_key">cache key</link>.
-The <literal>levels</literal> parameter defines hierarchy levels of a cache.
+The <literal>levels</literal> parameter defines hierarchy levels of a cache:
+from 1 to 3, each level accepts values 1 or 2.
 For example, in the following configuration
 <example>
 scgi_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m;
--- a/xml/en/docs/http/ngx_http_uwsgi_module.xml	Mon Sep 26 20:54:23 2016 +0300
+++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml	Mon Jul 04 14:29:09 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_uwsgi_module"
         link="/en/docs/http/ngx_http_uwsgi_module.html"
         lang="en"
-        rev="27">
+        rev="28">
 
 <section id="summary">
 
@@ -349,7 +349,8 @@
 The file name in a cache is a result of
 applying the MD5 function to the
 <link id="uwsgi_cache_key">cache key</link>.
-The <literal>levels</literal> parameter defines hierarchy levels of a cache.
+The <literal>levels</literal> parameter defines hierarchy levels of a cache:
+from 1 to 3, each level accepts values 1 or 2.
 For example, in the following configuration
 <example>
 uwsgi_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m;
--- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml	Mon Sep 26 20:54:23 2016 +0300
+++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml	Mon Jul 04 14:29:09 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_fastcgi_module"
         link="/ru/docs/http/ngx_http_fastcgi_module.html"
         lang="ru"
-        rev="35">
+        rev="36">
 
 <section id="summary">
 
@@ -356,8 +356,9 @@
 Данные кэша хранятся в файлах.
 Ключом и именем файла в кэше является результат функции MD5
 от проксированного URL.
-Параметр <literal>levels</literal> задаёт уровни иерархии кэша,
-например, при использовании
+Параметр <literal>levels</literal> задаёт уровни иерархии кэша:
+можно задать от 1 до 3 уровней, на каждом уровне допускаются значения 1 или 2.
+Например, при использовании
 <example>
 fastcgi_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m;
 </example>
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml	Mon Sep 26 20:54:23 2016 +0300
+++ b/xml/ru/docs/http/ngx_http_proxy_module.xml	Mon Jul 04 14:29:09 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_proxy_module"
         link="/ru/docs/http/ngx_http_proxy_module.html"
         lang="ru"
-        rev="48">
+        rev="49">
 
 <section id="summary">
 
@@ -373,8 +373,9 @@
 Данные кэша хранятся в файлах.
 Именем файла в кэше является результат функции MD5
 от <link id="proxy_cache_key">ключа кэширования</link>.
-Параметр <literal>levels</literal> задаёт уровни иерархии кэша,
-например, при использовании
+Параметр <literal>levels</literal> задаёт уровни иерархии кэша:
+можно задать от 1 до 3 уровней, на каждом уровне допускаются значения 1 или 2.
+Например, при использовании
 <example>
 proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m;
 </example>
--- a/xml/ru/docs/http/ngx_http_scgi_module.xml	Mon Sep 26 20:54:23 2016 +0300
+++ b/xml/ru/docs/http/ngx_http_scgi_module.xml	Mon Jul 04 14:29:09 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_scgi_module"
         link="/ru/docs/http/ngx_http_scgi_module.html"
         lang="ru"
-        rev="24">
+        rev="25">
 
 <section id="summary">
 
@@ -347,8 +347,9 @@
 Данные кэша хранятся в файлах.
 Именем файла в кэше является результат функции MD5
 от <link id="scgi_cache_key">ключа кэширования</link>.
-Параметр <literal>levels</literal> задаёт уровни иерархии кэша,
-например, при использовании
+Параметр <literal>levels</literal> задаёт уровни иерархии кэша:
+можно задать от 1 до 3 уровней, на каждом уровне допускаются значения 1 или 2.
+Например, при использовании
 <example>
 scgi_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m;
 </example>
--- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml	Mon Sep 26 20:54:23 2016 +0300
+++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml	Mon Jul 04 14:29:09 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_uwsgi_module"
         link="/ru/docs/http/ngx_http_uwsgi_module.html"
         lang="ru"
-        rev="27">
+        rev="28">
 
 <section id="summary">
 
@@ -346,8 +346,9 @@
 Данные кэша хранятся в файлах.
 Именем файла в кэше является результат функции MD5
 от <link id="uwsgi_cache_key">ключа кэширования</link>.
-Параметр <literal>levels</literal> задаёт уровни иерархии кэша,
-например, при использовании
+Параметр <literal>levels</literal> задаёт уровни иерархии кэша:
+можно задать от 1 до 3 уровней, на каждом уровне допускаются значения 1 или 2.
+Например, при использовании
 <example>
 uwsgi_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m;
 </example>