Added nginx trailing slash rewrite.