In reverse proxy mode, mitmproxy accepts standard HTTP requests and forwards them to the specified upstream server. This is in contrast to upstream proxy mode, in which mitmproxy forwards HTTP proxy requests to an upstream proxy server.
command-line | -R http[s]://hostname[:port] |
---|---|
mitmproxy shortcut | P |