Which library / approach would be advisable for building an MITM-style HTTP(s) Proxy, i.e. for intercepting outgoing web traffic? Effectively inspect (and do side effects) based on outgoing traffic.
Thanks @sorax . I had a look at that, but it seems targeted as “reverse proxy”, like NGINX, right? That looked like a component I can put in front of my web server application, and route incoming requests different ways, like an API Gateway.
I’m looking for a component used by a web browser, before going out to the Internet. Is reverse_proxy_plug usable for that, too? The proxy protocol looks slightly different than HTTP
Fully agree that I want the proxy server to run on a solid foundation (like Phoenix). The thing that’s unclear is how to host a component that talks the proxy protocol to the client, instead of plain HTTP.
Thanks for the link, wasn’t aware of the search capabilities of elixir-toolbox.dev… However, as far as I can see, all these are either proxies for special protocols (SIP, Kafka, Telegram MProto) or are ‘reverse proxies’ (like nginx).