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 http://www.example.com/sub where there is no 

   location /sub {} block

it looks for http://www.example.com/sub/index.php etc...

Cheers,

Steve

-- 
Steve Holdoway BSc(Hons) MNZCS 
http://www.greengecko.co.nz
Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to