aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/features/reverseproxy.html
blob: e6de4f339f16f7efbecdad81fd6c33c55ea05d9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
In reverse proxy mode, mitmproxy accepts standard HTTP requests and forwards
them to the specified upstream server. This is in contrast to
<a href="@!urlTo("upstreamproxy.html")!@">upstream proxy mode</a>, in which
mitmproxy forwards HTTP proxy requests to an upstream proxy server.

<table class="table">
    <tbody>
        <tr>
            <th width="20%">command-line</th> <td>-R http[s]://hostname[:port]</td>
        </tr>
        <tr>
            <th>mitmproxy shortcut</th> <td><b>P</b></td>
        </tr>
    </tbody>
</table>