I need to achieve below test case using nginx: www.example.com/api/ should redirect to ABC.com/api, while www.example.com/api/site/login should redirect to XYZ.com/api/site/login But in the browser, user should only see www.example.com/api.... (and not the redirected URL). Please let me know how this can be achieved.by shaktixcool - Other discussion