# HG changeset patch # User Yaroslav Zhuravlev # Date 1467631749 -10800 # Node ID 1d576e8d6ead2ed828eff7367a0eaccc4c008949 # Parent d4a584797f51bbe3a0dca564775dfa57c90cb584 Clarified the "levels" parameter of proxy_cache_path and friends. diff -r d4a584797f51 -r 1d576e8d6ead xml/en/docs/http/ngx_http_fastcgi_module.xml --- 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 @@ + rev="36">
@@ -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 levels parameter defines hierarchy levels of a cache. +The levels parameter defines hierarchy levels of a cache: +from 1 to 3, each level accepts values 1 or 2. For example, in the following configuration fastcgi_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m; diff -r d4a584797f51 -r 1d576e8d6ead xml/en/docs/http/ngx_http_proxy_module.xml --- 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 @@ + rev="49">
@@ -374,7 +374,8 @@ The file name in a cache is a result of applying the MD5 function to the cache key. -The levels parameter defines hierarchy levels of a cache. +The levels parameter defines hierarchy levels of a cache: +from 1 to 3, each level accepts values 1 or 2. For example, in the following configuration proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m; diff -r d4a584797f51 -r 1d576e8d6ead xml/en/docs/http/ngx_http_scgi_module.xml --- 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 @@ + rev="25">
@@ -349,7 +349,8 @@ The file name in a cache is a result of applying the MD5 function to the cache key. -The levels parameter defines hierarchy levels of a cache. +The levels parameter defines hierarchy levels of a cache: +from 1 to 3, each level accepts values 1 or 2. For example, in the following configuration scgi_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m; diff -r d4a584797f51 -r 1d576e8d6ead xml/en/docs/http/ngx_http_uwsgi_module.xml --- 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 @@ + rev="28">
@@ -349,7 +349,8 @@ The file name in a cache is a result of applying the MD5 function to the cache key. -The levels parameter defines hierarchy levels of a cache. +The levels parameter defines hierarchy levels of a cache: +from 1 to 3, each level accepts values 1 or 2. For example, in the following configuration uwsgi_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m; diff -r d4a584797f51 -r 1d576e8d6ead xml/ru/docs/http/ngx_http_fastcgi_module.xml --- 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 @@ + rev="36">
@@ -356,8 +356,9 @@ Данные кэша хранятся в файлах. Ключом и именем файла в кэше является результат функции MD5 от проксированного URL. -Параметр levels задаёт уровни иерархии кэша, -например, при использовании +Параметр levels задаёт уровни иерархии кэша: +можно задать от 1 до 3 уровней, на каждом уровне допускаются значения 1 или 2. +Например, при использовании fastcgi_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m; diff -r d4a584797f51 -r 1d576e8d6ead xml/ru/docs/http/ngx_http_proxy_module.xml --- 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 @@ + rev="49">
@@ -373,8 +373,9 @@ Данные кэша хранятся в файлах. Именем файла в кэше является результат функции MD5 от ключа кэширования. -Параметр levels задаёт уровни иерархии кэша, -например, при использовании +Параметр levels задаёт уровни иерархии кэша: +можно задать от 1 до 3 уровней, на каждом уровне допускаются значения 1 или 2. +Например, при использовании proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m; diff -r d4a584797f51 -r 1d576e8d6ead xml/ru/docs/http/ngx_http_scgi_module.xml --- 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 @@ + rev="25">
@@ -347,8 +347,9 @@ Данные кэша хранятся в файлах. Именем файла в кэше является результат функции MD5 от ключа кэширования. -Параметр levels задаёт уровни иерархии кэша, -например, при использовании +Параметр levels задаёт уровни иерархии кэша: +можно задать от 1 до 3 уровней, на каждом уровне допускаются значения 1 или 2. +Например, при использовании scgi_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m; diff -r d4a584797f51 -r 1d576e8d6ead xml/ru/docs/http/ngx_http_uwsgi_module.xml --- 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 @@ + rev="28">
@@ -346,8 +346,9 @@ Данные кэша хранятся в файлах. Именем файла в кэше является результат функции MD5 от ключа кэширования. -Параметр levels задаёт уровни иерархии кэша, -например, при использовании +Параметр levels задаёт уровни иерархии кэша: +можно задать от 1 до 3 уровней, на каждом уровне допускаются значения 1 или 2. +Например, при использовании uwsgi_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m;