aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/features/upstreamproxy.html
blob: 5b9c22892b8f2f2f3b26cc0e6192eb0a476666dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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[s]://hostname[:port]</td>
        </tr>
        <tr>
            <th>mitmproxy shortcut</th> <td><b>U</b></td>
        </tr>
    </tbody>
</table>