improve reverse proxy docs

This commit is contained in:
Maximilian Hils 2015-11-02 10:47:14 +01:00
parent 07b60acb7f
commit 51a3378290
1 changed files with 3 additions and 3 deletions

View File

@ -3,15 +3,15 @@
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
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]`
================== =====================================
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
them to what the server expects.