Nginx supports a option via http://wiki.nginx.org/HttpCoreModule#try_files and this adds this as a parameter