1

I have a Gentoo linux where I run an application that makes requests to a certain domain, but does not respect my proxy setting I made in the environment variables (http_proxy, https_proxy, HTTP_PROXY, HTTPS_PROXY).

Unfortunately I can't configure that application to respect my proxy.

So I wonder if it is possible, to redirect these request to the proxy server manually.

My idea was a reverse proxy with nginx.

Is it right that I could configure a reverse proxy in nginx to forward a specific request to our corporate proxy?

Does anybody know if that is possible or has alternative ideas to redirect requests to certain domains to my proxy server?

If this is possible what would the entry need to look like. Given the request is made to anydomain.com and my proxy is my.proxy.com:1234?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.