I have a third party application which need to access an HTTPS URI on a remote location. Here are my constraints:
- Access to remote URI need to go through a corporate HTTP PROXY
- Calls need to have specifics security headers
- Need to use docker images
Here is my limitations:
- Third party software does not provide HTTP PROXY configuration
- Third party software does not provide setting for customer headers.
- I cannot modify third party app.
Here is what I can do:
- Configure REMOTE URI in the third party app.
- Use any docker image available on docker hub.
I was thinking about tunneling the calls to the remote HTTPS URI using a reverse proxy.
THIRD PARTY APP => NGINX (add security headers) => HTTP PROXY -> REMOTE URI
I tried to use the proxy_pass with the upstream modules in NGINX without success. Maybe I have not the right approach and should use SQUID instead of NGINX, what do you think ?