aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/reverseproxy.html
blob: 4160b5c6257e08dfce0d1fb3930a8bc89008d429 (plain)
1
2
3
4
5
6
7
8
- 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.