mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-12-04 20:47:25 +00:00
13 lines
472 B
ReStructuredText
13 lines
472 B
ReStructuredText
|
.. _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]`
|
||
|
================== ===================================
|