Nginx automatically resolves '.' and '..' path elements in the URI. Therefore, if the request is coming in as /auth/auth/../login, it will be evaluated to /auth/login before being processed by the location block.
We are using Nginx version 1.22.0. Could you please help us understand where this evaluation is happening and in which file under the Nginx HTTP module (nginx\src\http)?