aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/features/reverseproxy.html
blob: ea91fe1f3f4648e25b654c8901023e49daae8ede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>
    </tbody>
</table>