changeset 325:49b7689da25b

Fix missing servername on redirs that gave "hostname-PROXY" Puppet needs a unique resource name, but we can (and need to) duplicated Apache ServerName values.
author IBBoard <dev@ibboard.co.uk>
date Tue, 03 Mar 2020 20:26:15 +0000
parents b0928653dfc2
children 63e0b5149cfb
files modules/website/manifests/https/redir.pp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/website/manifests/https/redir.pp	Sun Mar 01 19:57:21 2020 +0000
+++ b/modules/website/manifests/https/redir.pp	Tue Mar 03 20:26:15 2020 +0000
@@ -144,6 +144,7 @@
 
   if ($proxy_4to6_ip != undef) {
     apache::vhost { "$name-PROXY":
+      servername      => $name,
       ip              => $proxy_4to6_ip,
       port            => '443',
       docroot         => $siteroot,