Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

reverse proxy

$
0
0
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.

Viewing all articles
Browse latest Browse all 972

Trending Articles