aboutsummaryrefslogtreecommitdiffstats
path: root/docs/features/upstreamproxy.rst
blob: a4ccf57ff3589c606838f9c4a8e0f68e53b0499c (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       ``-U http://hostname[:port]``
================== =============================