How can I redirect a request via Another External proxy

Aakarshit Agarwal agarwal.aakarshit13 at
Fri Nov 25 08:11:37 UTC 2022

Hi Team,

Inside a private network, I want to redirect a request via another External

Brief ->

I want my URL ( ) when having the path specified as ( ) it will redirect my request to
another URL
( https://example2/api/portnumber/xyz/ ) *via an External proxy ( x.x.x.x )*

I tried many nginx.conf but was not able to redirect my request.

Please help me to know if it is possible, and if yes in what way.

Tech Enthusiast,
Aakarshit Agarwal
DevOps Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list