try_files question... or alternative?

Steve Holdoway steve at
Mon Jun 17 22:05:07 UTC 2013

Is there a simple way of getting nginx to search for the index when
given a bare directory as URL?

eg in a server block...

   index       index.php index.html index.htm;

when passed an URL of where there is no 

   location /sub {} block

it looks for etc...



Steve Holdoway BSc(Hons) MNZCS
Skype: sholdowa

More information about the nginx mailing list