aboutsummaryrefslogtreecommitdiffstats
path: root/docs/features/upstreamproxy.rst
blob: e06833c225474ef7ef7b089e912799fce2554d9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
.. _upstreamproxy:

Upstream proxy mode
===================

In this mode, mitmproxy accepts proxy requests and unconditionally forwards all
requests to a specified upstream proxy server. This is in contrast to :ref:`reverseproxy`,
in which mitmproxy forwards ordinary HTTP requests to an upstream server.

================== ===================================
command-line       :option:`-U http://hostname[:port]`
================== ===================================