Deploying with nginx - host at different root

im deploying redash,and want to visit redash with url like http://127.0.01/redash
but this url will redirect to and get 404. /redash/login is the right url
how can i reapir this

Previous discussion:

Redash isn’t designed to work this way but some people have made it work.