fix nginx rewrite for escaped_fragment