Get rid of args from $request_uri

Zhang Chao zchao1995 at
Tue Aug 8 14:06:55 UTC 2017

On 8 August 2017 at 22:02:32, chilly_bang (nginx-forum at

c0nw0nk Wrote:
> why don't you use
> $uri

Is it not so, that $uri will output an encoded url?

$uri is always the one decode once time and merge the slash(if you enable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list