Mercurial > repos > other > Puppet
diff manifests/templates.pp @ 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 | 8224f42ee05b |
children | 752c0861a7c3 |
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 } }