This module installs and configures Caddy - The HTTP/2 web server with automatic HTTPS.
Important: This module only supports the installation of Caddy 2.x. If you want to install Caddy 1.x, you should use version v2.0.0 of this module.
This module has the following dependencies:
Install Caddy without any configuration:
include caddy
Install customised version of Caddy
class { 'caddy':
caddy_features => 'http.git,http.filter,http.ipfilter',
}
Install specific version of Caddy
class { 'caddy':
version => '2.0.0',
install_method => 'github',
}
Install Caddy and configure virtual host, based on source:
caddy::vhost { 'example1':
source => 'puppet:///modules/caddy/etc/caddy/config/example1.conf',
}
Install Caddy and configure virtual host, based on content:
caddy::vhost { 'example2':
content => 'localhost:2015',
}
The reference documentation of this module is generated using puppetlabs/puppetlabs-strings.
This module has been tested on:
This module has grown over time based on a range of contributions from people using it. If you follow these contributing guidelines your patch will likely make it into a release a little more quickly.
This module is maintained by Vox Pupuli. It was originally written and maintained by Lukasz Rohde.