aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/features/upstreamproxy.html
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-03-14 00:02:00 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-03-14 00:02:00 +0100
commita66913d4a30b2ce2dedc58afcf79ad77faead278 (patch)
tree55b58e1ce75e67fcfe3a8262f648b9b96e761b83 /doc-src/features/upstreamproxy.html
parentf14eeef6539ac4f104dc37b37fbc74b9ea861965 (diff)
downloadmitmproxy-a66913d4a30b2ce2dedc58afcf79ad77faead278.tar.gz
mitmproxy-a66913d4a30b2ce2dedc58afcf79ad77faead278.tar.bz2
mitmproxy-a66913d4a30b2ce2dedc58afcf79ad77faead278.zip
forward proxy -> upstream proxy
Diffstat (limited to 'doc-src/features/upstreamproxy.html')
-rw-r--r--doc-src/features/upstreamproxy.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc-src/features/upstreamproxy.html b/doc-src/features/upstreamproxy.html
new file mode 100644
index 00000000..5b9c2289
--- /dev/null
+++ b/doc-src/features/upstreamproxy.html
@@ -0,0 +1,16 @@
+
+In this mode, mitmproxy accepts proxy requests and unconditionally forwards all
+requests to a specified upstream proxy server. This is in contrast to <a
+href="@!urlTo("reverseproxy.html")!@">reverse proxy mode</a>, in which
+mitmproxy forwards ordinary HTTP requests to an upstream server.
+
+<table class="table">
+ <tbody>
+ <tr>
+ <th width="20%">command-line</th> <td>-U http[s]://hostname[:port]</td>
+ </tr>
+ <tr>
+ <th>mitmproxy shortcut</th> <td><b>U</b></td>
+ </tr>
+ </tbody>
+</table>