mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-23 13:23:00 +09:00
OS - Ubuntu 12.04 PHP - 5.4 with cli intl mcrypt curl gd imagick mbstring MySQL IP - 10.20.30.12 target folder - /var/www/boxbilling servername - boxbilling.test XDEBUG
24 lines
553 B
Puppet
24 lines
553 B
Puppet
## SSL-enabled vhosts
|
|
# SSL-enabled vhosts respond only to HTTPS queries.
|
|
|
|
# Base class. Turn off the default vhosts; we will be declaring
|
|
# all vhosts below.
|
|
class { 'apache':
|
|
default_vhost => false,
|
|
}
|
|
|
|
# Non-ssl vhost
|
|
apache::vhost { 'first.example.com non-ssl':
|
|
servername => 'first.example.com',
|
|
port => '80',
|
|
docroot => '/var/www/first',
|
|
}
|
|
|
|
# SSL vhost at the same domain
|
|
apache::vhost { 'first.example.com ssl':
|
|
servername => 'first.example.com',
|
|
port => '443',
|
|
docroot => '/var/www/first',
|
|
ssl => true,
|
|
}
|