I’ve set up a simple mitm reverse proxy on Ubuntu:
mitmproxy --mode reverse:http://host.example.com/ --set \
block_global=false --set listen_port=80
The listen_port
is being ignored; I get RSTs back for requests sent on 80 (8080 is still in play). What I really want the reverse proxy to listen on both 80 and 443.
Separately, but related, I'm struggling to find up-to-date and accurate documentation - https://mitmproxy.readthedocs.io/en/v2.0.2/ is not the answer -; what are people using?
Regarding documentation - on project's website there's Docs -> v4 (latest release).