forward data, and get return data from remote server?
https://domain.tld <=> MITM <=> Nginx/PHP-FPM <=> https://domain.tld
So it would basically forward the request data (headers, post and such) to my server using a HTTP Request to a IP. My server would then act as a reverse proxy, and return customized data.
How would this be doable?
So basically; before returning the data. It will get the return data from my nginx server instead.. That way I can customize the data using my nginx reverse proxy.
i don't really understand your workflow (arrows show your domain.tld on both ends of the workflow?!?)
but it sounds like you want mitm-proxy to forward requests to an upstream proxy server (your nginx server) is that correct?
@jasonswearingen Not sure if that was the original question, but how do you really forward the requests to an upstream proxy server?