aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/features/upstreamproxy.html
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-03-18 17:19:57 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-03-18 17:19:57 +0100
commitd5cfc1c080e2736afb478a310afe525ab493a72f (patch)
tree6157b0d0324698436aff8419522557ed4b3e628d /doc-src/features/upstreamproxy.html
parentce38a17893791944fb8b4f589e7ce00d79b8ced0 (diff)
parenta66913d4a30b2ce2dedc58afcf79ad77faead278 (diff)
downloadmitmproxy-d5cfc1c080e2736afb478a310afe525ab493a72f.tar.gz
mitmproxy-d5cfc1c080e2736afb478a310afe525ab493a72f.tar.bz2
mitmproxy-d5cfc1c080e2736afb478a310afe525ab493a72f.zip
Merge pull request #239 from mitmproxy/options_cleanup
Options cleanup
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>