1 ## vhost with proxyPass directive
2 # NB: Please see the other vhost_*.pp example files for further
5 # Base class. Declares default vhost on port 80 and default ssl
6 # vhost on port 443 listening on all interfaces and serving
10 # Most basic vhost with proxy_pass
11 apache::vhost { 'first.example.com':
13 docroot => '/var/www/first',
17 'url' => 'http://localhost:8080/first'
22 # vhost with proxy_pass and parameters
23 apache::vhost { 'second.example.com':
25 docroot => '/var/www/second',
29 'url' => 'http://localhost:8080/second',
38 # vhost with proxy_pass and keywords
39 apache::vhost { 'third.example.com':
41 docroot => '/var/www/third',
45 'url' => 'http://localhost:8080/third',
46 'keywords' => ['noquery', 'interpolate']
51 # vhost with proxy_pass, parameters and keywords
52 apache::vhost { 'fourth.example.com':
54 docroot => '/var/www/fourth',
58 'url' => 'http://localhost:8080/fourth',
63 'keywords' => ['noquery', 'interpolate']