try_files and index

whiskybar nginx-forum at nginx.us
Tue Jun 26 07:47:30 UTC 2012


> In your first configuration try_files is a nop, as
> it's defined at 
> server level and will be only used if request
> doesn't match any of 
> locations defined.

That explains it then. Thank you very much Maxim!

@Edho there was no /var/index.html because I was forcing a 404 in this
snippet.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,227887,227915#msg-227915



More information about the nginx mailing list