Perlbal
#
load Vhosts

CREATE SERVICE pic
    SET listen = 0.0.0.0:83
    SET role = selector
    SET plugins = vhosts
    VHOST * = web_proxy
ENABLE pic

CREATE POOL web_proxy_pool
    POOL web_proxy_pool ADD 10.10.10.1:81
    POOL web_proxy_pool ADD 10.10.10.2:81
    POOL web_proxy_pool ADD 10.10.10.3:81

CREATE SERVICE web_proxy
    SET role = reverse_proxy
    SET pool = web_proxy_pool
    SET enable_reproxy = on
ENABLE web_proxy