2 # SSL-enabled vhosts respond only to HTTPS queries.
4 # Base class. Turn off the default vhosts; we will be declaring
7 default_vhost => false,
11 apache::vhost { 'first.example.com non-ssl':
12 servername => 'first.example.com',
14 docroot => '/var/www/first',
17 # SSL vhost at the same domain
18 apache::vhost { 'first.example.com ssl':
19 servername => 'first.example.com',
21 docroot => '/var/www/first',