Mercurial > hg > nginx-site
changeset 174:69c131b0ebe0
Rephrased a sentence about "try_files" so that "alias" isn't called a prefix.
Submitted by: mdounin
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 07 Nov 2011 14:07:37 +0000 |
parents | 6b81a1950ecb |
children | 3381ae6a93e4 |
files | xml/en/docs/http/ngx_http_core_module.xml |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml Mon Nov 07 08:46:15 2011 +0000 +++ b/xml/en/docs/http/ngx_http_core_module.xml Mon Nov 07 14:07:37 2011 +0000 @@ -2054,9 +2054,10 @@ Checks the existence of files in the specified order, and uses the first found file for request processing; the processing is performed in the current context. -A path to the file is a concatenation of the prefix (as controlled by the -<link id="root"/> and <link id="alias"/> directives) and the -<argument>file</argument> argument. +A path to the file is constructed from the +<argument>file</argument> argument +according to the +<link id="root"/> and <link id="alias"/> directives. It is possible to check the directory existence by specifying a slash at the end of a name, e.g. “<code>$uri/</code>”. If none of the files were found, an internal redirect to the