puppetlabs/puppetlabs-apache — pull request #141 by cypherfox (2013-01-28 07:31:48+00:00)
Title: Generate forward proxy as virtual host

The new class and acompanying template allow the simple configuration of a forward proxy in a virtual host. Very handy for using a separate port with the vhost for the proxy.

Provoding a network to which the proxy is restricted is required.

Still you could use 0.0.0.0/0 if you want to ;-(

Usage:

apache::vhost::forward_proxy { 'vproxy':
port => '9090',
allowednet => '192.168.0.0/24',
}