mitmproxy 0.8 docs

Reverse proxy mode

  • command-line: -P http[s]://hostname[:port]
  • mitmproxy shortcut: P

In reverse proxy mode, mitmproxy acts as a standard HTTP server and forwards all requests to the specified upstream server. Note that the displayed URL for flows in this mode will use the value of the Host header field from the request, not the reverse proxy server.

© mitmproxy project, 2012