Swap an if for a try_files[1].

[1] http://wiki.nginx.org/IfIsEvil