Nginx alias breaks due to try_files $uri alias bug
问题 I have a versioned Symfony API instance that I want to configure in the following manner: api.com/api/v1 -> /srv/api-v1/public/index.php api.com/api/v2 -> /srv/api-v2/public/index.php I've tried to approach this using nginx location and aliases, as it's Symfony we use try_files (as recommended) to check for an actual file prior to defaulting to index.php . Problem It seems there is a known nginx bug that breaks the $uri variable with an alias and try_files . How can I get around this bug to