Domtool Module Proxy



extern type proxy_target
extern type proxy_reverse_target
extern val proxyPass : no_spaces -> proxy_target -> [Vhost]
extern val proxyPassReverse : no_spaces -> proxy_reverse_target -> [Vhost]
extern val proxyPreserveHost : bool -> [Vhost]

extern type proxy_target

URL prefix designating where to send proxied requests. It can be any localhost URL on a port of at least 1024. In addition, other allowed targets can be configured. It may also be the value "!" to not proxy a path.

extern type proxy_reverse_target

URL prefix designating where to send proxied requests. It can be any localhost URL on a port of at least 1024. In addition, other allowed targets can be configured.

extern val proxyPass : no_spaces -> proxy_target -> [Vhost]

extern val proxyPassReverse : no_spaces -> proxy_reverse_target -> [Vhost]

Interface to Apache ProxyPass and ProxyPassReverse

extern val proxyPreserveHost : bool -> [Vhost]

Pass the Host header to the proxied server unmodified. Apache docs.