aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/docs/features/upstreamproxy.rst
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/docs/features/upstreamproxy.rst')
-rw-r--r--mitmproxy/docs/features/upstreamproxy.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/mitmproxy/docs/features/upstreamproxy.rst b/mitmproxy/docs/features/upstreamproxy.rst
new file mode 100644
index 00000000..e06833c2
--- /dev/null
+++ b/mitmproxy/docs/features/upstreamproxy.rst
@@ -0,0 +1,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]`
+================== ===================================