error_page and named locations

KT Walrus kevin at my.walr.us
Sat Dec 13 01:01:40 MSK 2008


My suggestion is:

select_uri_file with the default selection being the last file listed  
and first file that exists is used.

On Dec 12, 2008, at 12:01 PM, Ezra Zygmuntowicz wrote:

>
> 	Taking a hint from javacript how about:
>
> try_these   $uri  $uri/index.html  $uri.html  @mongrel;
>
> 	Or maybe try_these_files
>
> Cheers-
> Ezra Zygmuntowicz
> ez at engineyard.com
>
>
>
>






More information about the nginx mailing list