examples/nginx.conf: use try_files directive
commit09afcf2ce9fc89d77b6b282bbf00a78c73741a4b
authorEric Wong <normalperson@yhbt.net>
Tue, 25 Jan 2011 21:58:29 +0000 (25 13:58 -0800)
committerEric Wong <normalperson@yhbt.net>
Tue, 25 Jan 2011 21:58:29 +0000 (25 13:58 -0800)
tree07a065ba8b873cb22187f74ee3e269c3e9aec20a
parent1ca83b055375ab7e72d383ffd0f36f70c07d9e92
examples/nginx.conf: use try_files directive

This feature is in nginx 0.7.x and 0.8.x and optimized
better than the "if" directive in nginx.conf

ref: http://wiki.nginx.org/Pitfalls
ref: http://wiki.nginx.org/IfIsEvil
examples/nginx.conf