multiple named locations in try_files

Rob Schultz rschultz7 at gmail.com
Sun Dec 6 07:35:58 MSK 2009


You are correct  http://wiki.nginx.org/NginxHttpCoreModule#try_files

If you read try files documentation try_files test for files existance  
and if none are found it goes to fallback which can be a named  
location. So named locations are only allowed for the fallback as  
documented.

Sent from my iPhone

On Dec 5, 2009, at 6:10 PM, Oleg Terenchuk <litwol at gmail.com> wrote:

> This behavior leads me to believe that nginx allows named location
> only at the end of try_files, but documentation contradicts it. Which
> is correct?



More information about the nginx mailing list