NGINX $request_uri vs $uri
$uri is not equivalent to $request_uri. The $uri variable is set to the URI that nginx is currently processing – but it is also subject to normalisation, including: Removal of the ? and query string Consecutive / characters are replace by a single / URL encoded characters are decoded The value of $request_uri is always … Read more