Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_core_module.xml @ 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 |
comparison
equal
deleted
inserted
replaced
173:6b81a1950ecb | 174:69c131b0ebe0 |
---|---|
2052 | 2052 |
2053 <para> | 2053 <para> |
2054 Checks the existence of files in the specified order, and uses | 2054 Checks the existence of files in the specified order, and uses |
2055 the first found file for request processing; the processing | 2055 the first found file for request processing; the processing |
2056 is performed in the current context. | 2056 is performed in the current context. |
2057 A path to the file is a concatenation of the prefix (as controlled by the | 2057 A path to the file is constructed from the |
2058 <link id="root"/> and <link id="alias"/> directives) and the | 2058 <argument>file</argument> argument |
2059 <argument>file</argument> argument. | 2059 according to the |
2060 <link id="root"/> and <link id="alias"/> directives. | |
2060 It is possible to check the directory existence by specifying | 2061 It is possible to check the directory existence by specifying |
2061 a slash at the end of a name, e.g. “<code>$uri/</code>”. | 2062 a slash at the end of a name, e.g. “<code>$uri/</code>”. |
2062 If none of the files were found, an internal redirect to the | 2063 If none of the files were found, an internal redirect to the |
2063 <argument>uri</argument> specified by the last argument is made. | 2064 <argument>uri</argument> specified by the last argument is made. |
2064 For example: | 2065 For example: |