How can I disable urlencoding with Nginx Proxy -
i have trouble nginx. nginx proxy receives urlencoded uri this.
get /x/y/z.aspx?id=abc%3d%3d and, noticed nginx applies urlencoding again, , make uri this.
get /x/y/z.aspx?id=abc%253d%253d how can disable nginx apply urlencoding this? want transfer uri is.
is there way modify request uri?
according nginx documentation, says..
$request_uri full original request uri (with arguments) so, specified proxy_pass below.
proxy_pass http://x.x.x.x$request_uri; nginx still sends request below.
get /x/y/z.aspx?id=abc%253d%253d it seems nginx applies url encode when sends message. so, can make nginx decode request when receives? then, nginx should automatically encode when sends, meaning ends expected parameter below.
get /x/y/z.aspx?id=abc%3d%3d
don't use $request_uri in proxy_pass has not been url-decoded. if want construct uri containing query string, use:
$uri$is_args$args
Comments
Post a Comment