Commit | Line | Data |
---|---|---|
968c383f CE |
1 | {{Apache <a href="http://httpd.apache.org/docs/2.2/mod/mod_proxy.html">proxy</a> configuration}} |
2 | ||
e95a129e | 3 | extern type proxy_target; |
a9b9c410 CE |
4 | {{URL prefix designating where to send proxied requests. |
5 | It can be any localhost URL on a port of at least 1024. | |
6 | In addition, other allowed targets can be configured. | |
7 | It may also be the value "!" to not proxy a path.}} | |
8 | ||
9 | extern type proxy_reverse_target; | |
e95a129e AC |
10 | {{URL prefix designating where to send proxied requests. |
11 | It can be any localhost URL on a port of at least 1024. | |
12 | In addition, other allowed targets can be configured.}} | |
f8dfbbcc | 13 | |
e95a129e | 14 | extern val proxyPass : no_spaces -> proxy_target -> [Vhost]; |
621629dc | 15 | extern val proxyPassReverse : no_spaces -> proxy_reverse_target -> [Vhost]; |
93d62353 CE |
16 | {{Interface to Apache <tt><a href="http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass">ProxyPass</a></tt> and <tt><a href="http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreverse">ProxyPassReverse</a></tt>}} |
17 | ||
18 | extern val proxyPreserveHost : bool -> [Vhost]; | |
19 | {{Pass the Host header to the proxied server unmodified. <a href="http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypreservehost">Apache docs</a>.}} |