mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
improve reverse proxy docs
This commit is contained in:
parent
07b60acb7f
commit
51a3378290
@ -3,15 +3,15 @@
|
|||||||
Reverse Proxy
|
Reverse Proxy
|
||||||
=============
|
=============
|
||||||
|
|
||||||
In reverse proxy mode, mitmproxy accepts standard HTTP requests and forwards
|
In reverse proxy mode, mitmproxy accepts standard HTTP(S) requests and forwards
|
||||||
them to the specified upstream server. This is in contrast to :ref:`upstreamproxy`, in which
|
them to the specified upstream server. This is in contrast to :ref:`upstreamproxy`, in which
|
||||||
mitmproxy forwards HTTP proxy requests to an upstream proxy server.
|
mitmproxy forwards HTTP(S) proxy requests to an upstream proxy server.
|
||||||
|
|
||||||
================== =====================================
|
================== =====================================
|
||||||
command-line :option:`-R http[s]://hostname[:port]`
|
command-line :option:`-R http[s]://hostname[:port]`
|
||||||
================== =====================================
|
================== =====================================
|
||||||
|
|
||||||
Here, **scheme** signifies if the proxy should use TLS to connect to the server.
|
Here, **http[s]** signifies if the proxy should use TLS to connect to the server.
|
||||||
mitmproxy always accepts both encrypted and unencrypted requests and transforms
|
mitmproxy always accepts both encrypted and unencrypted requests and transforms
|
||||||
them to what the server expects.
|
them to what the server expects.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user