error_page and named locations

mike mike503 at
Fri Dec 12 01:18:25 MSK 2008

or maybe something like "try_first"

will it test files and directories or only files? would not want it to
be try_file if it tests for dirs too :) i can see the need to test for
both files and dirs.

On Thu, Dec 11, 2008 at 12:44 PM, Jean-Philippe Moal
<skateinmars at> wrote:

>>> Or "use_file" ?
>>      location / {
>>          file_with_fallback  $uri  $uri/index.html  $uri.html
>>                      @mongrel;
>>      }

More information about the nginx mailing list