# HG changeset patch # User Yaroslav Zhuravlev # Date 1419438681 -10800 # Node ID 66ee778495633fff2f43532611b94f25452f493b # Parent 0f63ac5c946308c0658d99360534aa23d757c6dd Documented the use_temp_path parameter of the proxy_cache_path directive. diff -r 0f63ac5c9463 -r 66ee77849563 xml/en/docs/http/ngx_http_fastcgi_module.xml --- a/xml/en/docs/http/ngx_http_fastcgi_module.xml Tue Dec 23 18:34:38 2014 +0300 +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml Wed Dec 24 19:31:21 2014 +0300 @@ -10,7 +10,7 @@ + rev="27">
@@ -323,6 +323,7 @@ path [levels=levels] + [use_temp_path=on|off] keys_zone=name:size [inactive=time] [max_size=size] @@ -357,8 +358,15 @@ However, be aware that in this case a file is copied across two file systems instead of the cheap renaming operation. It is thus recommended that for any given location both cache and a directory -holding temporary files, set by the directive, +holding temporary files are put on the same file system. +A directory for temporary files is set based on +the use_temp_path parameter (1.7.10). +If this parameter is omitted or set to the value on, +the directory set by the directive +for the given location will be used. +If the value is set to off, +temporary files will be put directly in the cache directory. @@ -1350,6 +1358,11 @@ + +See also the use_temp_path parameter of the + directive. + +
diff -r 0f63ac5c9463 -r 66ee77849563 xml/en/docs/http/ngx_http_proxy_module.xml --- a/xml/en/docs/http/ngx_http_proxy_module.xml Tue Dec 23 18:34:38 2014 +0300 +++ b/xml/en/docs/http/ngx_http_proxy_module.xml Wed Dec 24 19:31:21 2014 +0300 @@ -10,7 +10,7 @@ + rev="35">
@@ -321,6 +321,7 @@ path [levels=levels] + [use_temp_path=on|off] keys_zone=name:size [inactive=time] [max_size=size] @@ -355,8 +356,15 @@ However, be aware that in this case a file is copied across two file systems instead of the cheap renaming operation. It is thus recommended that for any given location both cache and a directory -holding temporary files, set by the directive, +holding temporary files are put on the same file system. +A directory for temporary files is set based on +the use_temp_path parameter (1.7.10). +If this parameter is omitted or set to the value on, +the directory set by the directive +for the given location will be used. +If the value is set to off, +temporary files will be put directly in the cache directory. @@ -1941,6 +1949,11 @@ + +See also the use_temp_path parameter of the + directive. + +
diff -r 0f63ac5c9463 -r 66ee77849563 xml/en/docs/http/ngx_http_scgi_module.xml --- a/xml/en/docs/http/ngx_http_scgi_module.xml Tue Dec 23 18:34:38 2014 +0300 +++ b/xml/en/docs/http/ngx_http_scgi_module.xml Wed Dec 24 19:31:21 2014 +0300 @@ -10,7 +10,7 @@ + rev="15">
@@ -314,6 +314,7 @@ path [levels=levels] + [use_temp_path=on|off] keys_zone=name:size [inactive=time] [max_size=size] @@ -348,8 +349,15 @@ However, be aware that in this case a file is copied across two file systems instead of the cheap renaming operation. It is thus recommended that for any given location both cache and a directory -holding temporary files, set by the directive, +holding temporary files are put on the same file system. +A directory for temporary files is set based on +the use_temp_path parameter (1.7.10). +If this parameter is omitted or set to the value on, +the directory set by the directive +for the given location will be used. +If the value is set to off, +temporary files will be put directly in the cache directory. @@ -1198,6 +1206,11 @@ + +See also the use_temp_path parameter of the + directive. + +
diff -r 0f63ac5c9463 -r 66ee77849563 xml/en/docs/http/ngx_http_uwsgi_module.xml --- a/xml/en/docs/http/ngx_http_uwsgi_module.xml Tue Dec 23 18:34:38 2014 +0300 +++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml Wed Dec 24 19:31:21 2014 +0300 @@ -10,7 +10,7 @@ + rev="17">
@@ -314,6 +314,7 @@ path [levels=levels] + [use_temp_path=on|off] keys_zone=name:size [inactive=time] [max_size=size] @@ -348,8 +349,15 @@ However, be aware that in this case a file is copied across two file systems instead of the cheap renaming operation. It is thus recommended that for any given location both cache and a directory -holding temporary files, set by the directive, +holding temporary files are put on the same file system. +A directory for temporary files is set based on +the use_temp_path parameter (1.7.10). +If this parameter is omitted or set to the value on, +the directory set by the directive +for the given location will be used. +If the value is set to off, +temporary files will be put directly in the cache directory. @@ -1455,6 +1463,11 @@ + +See also the use_temp_path parameter of the + directive. + +
diff -r 0f63ac5c9463 -r 66ee77849563 xml/ru/docs/http/ngx_http_fastcgi_module.xml --- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml Tue Dec 23 18:34:38 2014 +0300 +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml Wed Dec 24 19:31:21 2014 +0300 @@ -10,7 +10,7 @@ + rev="27">
@@ -321,6 +321,7 @@ путь [levels=уровни] + [use_temp_path=on|off] keys_zone=имя:размер [inactive=время] [max_size=размер] @@ -355,8 +356,14 @@ что в этом случае вместо дешёвой операции переименовывания в пределах одной файловой системы файл копируется с одной файловой системы на другую. Поэтому лучше, если кэш будет находиться на той же файловой -системе, что и каталог с временными файлами, задаваемый директивой +системе, что и каталог с временными файлами. +Какой из каталогов будет использоваться для временных файлов +определяется параметром use_temp_path (1.7.10). +Если параметр не задан или установлен в значение “on”, +то будет использоваться каталог, задаваемый директивой для данного location. +Если параметр установлен в значение “off”, +то временные файлы будут располагаться непосредственно в каталоге кэша. @@ -1343,6 +1350,11 @@ + +См. также параметр use_temp_path директивы +. + +
diff -r 0f63ac5c9463 -r 66ee77849563 xml/ru/docs/http/ngx_http_proxy_module.xml --- a/xml/ru/docs/http/ngx_http_proxy_module.xml Tue Dec 23 18:34:38 2014 +0300 +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml Wed Dec 24 19:31:21 2014 +0300 @@ -10,7 +10,7 @@ + rev="35">
@@ -319,6 +319,7 @@ путь [levels=уровни] + [use_temp_path=on|off] keys_zone=имя:размер [inactive=время] [max_size=размер] @@ -353,8 +354,14 @@ что в этом случае вместо дешёвой операции переименовывания в пределах одной файловой системы файл копируется с одной файловой системы на другую. Поэтому лучше, если кэш будет находиться на той же файловой -системе, что и каталог с временными файлами, задаваемый директивой +системе, что и каталог с временными файлами. +Какой из каталогов будет использоваться для временных файлов +определяется параметром use_temp_path (1.7.10). +Если параметр не задан или установлен в значение “on”, +то будет использоваться каталог, задаваемый директивой для данного location. +Если параметр установлен в значение “off”, +то временные файлы будут располагаться непосредственно в каталоге кэша. @@ -1940,6 +1947,11 @@ + +См. также параметр use_temp_path директивы +. + +
diff -r 0f63ac5c9463 -r 66ee77849563 xml/ru/docs/http/ngx_http_scgi_module.xml --- a/xml/ru/docs/http/ngx_http_scgi_module.xml Tue Dec 23 18:34:38 2014 +0300 +++ b/xml/ru/docs/http/ngx_http_scgi_module.xml Wed Dec 24 19:31:21 2014 +0300 @@ -10,7 +10,7 @@ + rev="15">
@@ -312,6 +312,7 @@ путь [levels=уровни] + [use_temp_path=on|off] keys_zone=имя:размер [inactive=время] [max_size=размер] @@ -346,8 +347,14 @@ что в этом случае вместо дешёвой операции переименовывания в пределах одной файловой системы файл копируется с одной файловой системы на другую. Поэтому лучше, если кэш будет находиться на той же файловой -системе, что и каталог с временными файлами, задаваемый директивой +системе, что и каталог с временными файлами. +Какой из каталогов будет использоваться для временных файлов +определяется параметром use_temp_path (1.7.10). +Если параметр не задан или установлен в значение “on”, +то будет использоваться каталог, задаваемый директивой для данного location. +Если параметр установлен в значение “off”, +то временные файлы будут располагаться непосредственно в каталоге кэша. @@ -1192,6 +1199,11 @@ + +См. также параметр use_temp_path директивы +. + +
diff -r 0f63ac5c9463 -r 66ee77849563 xml/ru/docs/http/ngx_http_uwsgi_module.xml --- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml Tue Dec 23 18:34:38 2014 +0300 +++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml Wed Dec 24 19:31:21 2014 +0300 @@ -10,7 +10,7 @@ + rev="17">
@@ -312,6 +312,7 @@ путь [levels=уровни] + [use_temp_path=on|off] keys_zone=имя:размер [inactive=время] [max_size=размер] @@ -346,8 +347,14 @@ что в этом случае вместо дешёвой операции переименовывания в пределах одной файловой системы файл копируется с одной файловой системы на другую. Поэтому лучше, если кэш будет находиться на той же файловой -системе, что и каталог с временными файлами, задаваемый директивой +системе, что и каталог с временными файлами. +Какой из каталогов будет использоваться для временных файлов +определяется параметром use_temp_path (1.7.10). +Если параметр не задан или установлен в значение “on”, +то будет использоваться каталог, задаваемый директивой для данного location. +Если параметр установлен в значение “off”, +то временные файлы будут располагаться непосредственно в каталоге кэша. @@ -1449,6 +1456,11 @@ + +См. также параметр use_temp_path директивы +. + +