NAME
rhttp.pl - Reverse HTTP Proxy
SYNOPSIS
rhttp.pl
OPTIONS
- -config
-
Which config file to use.
- -add
-
Modify stored config file. See below.
- -del
-
Modify stored config file. See below.
- -host
-
IP to listen on. Can be set in config file.
- -port
-
Port to listen on. Can be set in config file.
- -cert_file
-
SSL cert file
- -key_file
-
SSL key file
DESCRIPTION
This is a reverse http proxy that supports:
HTTP/HTTPS reverse proxy (GET/POST)
WebSockets
VirtualHosts
SSL
EXAMPLES
Run a reverse http proxy on domain.com and domain.net that routes to 127.0.0.1:3001 and 127.0.0.1:3002. The proxy will listen on ip 192.168.10.12.
$ perl rhttp.pl -add vhost:domain.com:80=127.0.0.1:3001:tls_off
$ perl rhttp.pl -add vhost:domain.com=127.0.0.1:3001:tls_off
$ perl rhttp.pl -add vhost:localhost=127.0.0.1:3001:tls_off
$ perl rhttp.pl -add vhost:127.0.0.1:80=127.0.0.1:3001:tls_off
$ perl rhttp.pl -add listen:127.0.0.1:80
$ perl rhttp.pl
$ perl rhttp.pl -del vhost:localhost
$ perl rhttp.pl -del listen:127.0.0.1:80
NOTES
This program is considered beta.
AUTHOR
Brian Medley - bpmedley@cpan.org