Mercurial > repos > other > Puppet
changeset 374:5f4fc00f8189
Add mail and imap redirect websites
This is required for LetsEncrypt cert renewal (which has been
failing until now)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 15 Jun 2021 19:46:29 +0100 |
parents | c68883dde00b |
children | a8a7b2b343b5 |
files | manifests/templates.pp |
diffstat | 1 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/manifests/templates.pp Tue Jun 15 19:30:24 2021 +0100 +++ b/manifests/templates.pp Tue Jun 15 19:46:29 2021 +0100 @@ -516,6 +516,20 @@ "connect-src" => "'self'", } } + website::https::redir { 'mail.ibboard.co.uk': + proxy_4to6_ip => $proxy_4to6_ip_prefix != undef ? { true => "$proxy_4to6_ip_prefix:03", default => undef }, + redir => 'https://ibboard.co.uk/', + docroot => "${website::basedir}/ibboard", + letsencrypt_name => 'ibboard.co.uk', + separate_log => true, + } + website::https::redir { 'imap.ibboard.co.uk': + proxy_4to6_ip => $proxy_4to6_ip_prefix != undef ? { true => "$proxy_4to6_ip_prefix:03", default => undef }, + redir => 'https://ibboard.co.uk/', + docroot => "${website::basedir}/ibboard", + letsencrypt_name => 'ibboard.co.uk', + separate_log => true, + } class { "hiveworldterrasite": proxy_4to6_ip => $proxy_4to6_ip_prefix != undef ? { true => "$proxy_4to6_ip_prefix:04", default => undef } }