aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/features/reverseproxy.html
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2013-01-03 08:25:24 +1300
committerAldo Cortesi <aldo@nullcube.com>2013-01-03 08:25:24 +1300
commit101f92b2566adea605b9db69dba29e575414cbba (patch)
treeeafcfac61972f7a18c069d098accc4ce2cf1cfea /doc-src/features/reverseproxy.html
parentf578d68e555ff202a51b9f8672e540a964e31fed (diff)
downloadmitmproxy-101f92b2566adea605b9db69dba29e575414cbba.tar.gz
mitmproxy-101f92b2566adea605b9db69dba29e575414cbba.tar.bz2
mitmproxy-101f92b2566adea605b9db69dba29e575414cbba.zip
Docs: move features into their own directory
Diffstat (limited to 'doc-src/features/reverseproxy.html')
-rw-r--r--doc-src/features/reverseproxy.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc-src/features/reverseproxy.html b/doc-src/features/reverseproxy.html
new file mode 100644
index 00000000..524df083
--- /dev/null
+++ b/doc-src/features/reverseproxy.html
@@ -0,0 +1,17 @@
+
+In reverse proxy mode, mitmproxy acts as a standard HTTP server and forwards
+all requests to the specified 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>