aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/features/reverseproxy.html
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-01-28 17:29:28 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-01-28 17:29:28 +0100
commit1e3e0dd1271afda59ec244b64391b6579a998dce (patch)
tree5f1f617ccc8ea2b29650c10197407b1d3ecb7139 /doc-src/features/reverseproxy.html
parent17f09aa0afe9695505b746c370e1c5b889c19058 (diff)
parent3aa78f9ff38471f84a471618e1a43ca02fc65b6a (diff)
downloadmitmproxy-1e3e0dd1271afda59ec244b64391b6579a998dce.tar.gz
mitmproxy-1e3e0dd1271afda59ec244b64391b6579a998dce.tar.bz2
mitmproxy-1e3e0dd1271afda59ec244b64391b6579a998dce.zip
merge master
Diffstat (limited to 'doc-src/features/reverseproxy.html')
-rw-r--r--doc-src/features/reverseproxy.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc-src/features/reverseproxy.html b/doc-src/features/reverseproxy.html
new file mode 100644
index 00000000..d399cdc0
--- /dev/null
+++ b/doc-src/features/reverseproxy.html
@@ -0,0 +1,19 @@
+
+In reverse proxy mode, mitmproxy accepts standard HTTP requests and forwards
+them to the specified upstream server. This is in contrast to <a
+href="@!urlTo("forwardproxy.html")!@">forward proxy mode</a>, in which
+mitmproxy forwards HTTP proxy requests to an upstream server.
+
+Note that the displayed URL for flows in this mode will use the value of the
+__Host__ header field from the request, not the reverse proxy server.
+
+<table class="table">
+ <tbody>
+ <tr>
+ <th width="20%">command-line</th> <td>-P http[s]://hostname[:port]</td>
+ </tr>
+ <tr>
+ <th>mitmproxy shortcut</th> <td><b>P</b></td>
+ </tr>
+ </tbody>
+</table>