Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_scgi_module.xml @ 1384:66ee77849563
Documented the use_temp_path parameter of the proxy_cache_path directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 24 Dec 2014 19:31:21 +0300 |
parents | 94cac978bda3 |
children | 8e7995bb8c6b |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_scgi_module.xml +++ b/xml/en/docs/http/ngx_http_scgi_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_scgi_module" link="/en/docs/http/ngx_http_scgi_module.html" lang="en" - rev="14"> + rev="15"> <section id="summary"> @@ -314,6 +314,7 @@ will be cached. <syntax> <value>path</value> [<literal>levels</literal>=<value>levels</value>] + [<literal>use_temp_path</literal>=<literal>on</literal>|<literal>off</literal>] <literal>keys_zone</literal>=<value>name</value>:<value>size</value> [<literal>inactive</literal>=<value>time</value>] [<literal>max_size</literal>=<value>size</value>] @@ -348,8 +349,15 @@ different file systems. 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 <link id="scgi_temp_path"/> directive, +holding temporary files are put on the same file system. +A directory for temporary files is set based on +the <literal>use_temp_path</literal> parameter (1.7.10). +If this parameter is omitted or set to the value <literal>on</literal>, +the directory set by the <link id="scgi_temp_path"/> directive +for the given location will be used. +If the value is set to <literal>off</literal>, +temporary files will be put directly in the cache directory. </para> <para> @@ -1198,6 +1206,11 @@ a temporary file might look like this: </example> </para> +<para> +See also the <literal>use_temp_path</literal> parameter of the +<link id="scgi_cache_path"/> directive. +</para> + </directive> </section>