Mercurial > repos > other > Puppet
view modules/apache/examples/vhost_ssl.pp @ 257:675c1cc61eaf
Update Apache module to get CentOS 8 support
Unfortunately it only fixes some bits. mod_wsgi still needs
other approaches
This also overrides the vhost modification to make them come last
in the import order (after module loading)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 22 Dec 2019 14:43:29 -0500 |
parents | |
children | b8d6ada284dd |
line wrap: on
line source
## 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, }