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

<table class="table">
    <tbody>
        <tr>
            <th width="20%">command-line</th> <td>-U http://hostname[:port]</td>
        </tr>
    </tbody>
</table>