Sha256: 49ef8874b5e860dd6e53a88205b10f72ea6a893b18e3b31fa6e409597fcf7c83
Contents?: true
Size: 649 Bytes
Versions: 11
Compression:
Stored size: 649 Bytes
Contents
## IP-based vhosts on any listen port # IP-based vhosts respond to requests on specific IP addresses. # Base class. Turn off the default vhosts; we will be declaring # all vhosts below. class { 'apache': default_vhost => false, } # Listen on port 80 and 81; required because the following vhosts # are not declared with a port parameter. apache::listen { '80': } apache::listen { '81': } # IP-based vhosts apache::vhost { 'first.example.com': ip => '10.0.0.10', docroot => '/var/www/first', ip_based => true, } apache::vhost { 'second.example.com': ip => '10.0.0.11', docroot => '/var/www/second', ip_based => true, }
Version data entries
11 entries across 11 versions & 1 rubygems