diff --git a/global/overlay/etc/puppet/modules/cdn/templates/cache/haproxy.cfg.erb b/global/overlay/etc/puppet/modules/cdn/templates/cache/haproxy.cfg.erb index 0c5d328..156589e 100644 --- a/global/overlay/etc/puppet/modules/cdn/templates/cache/haproxy.cfg.erb +++ b/global/overlay/etc/puppet/modules/cdn/templates/cache/haproxy.cfg.erb @@ -29,9 +29,9 @@ defaults frontend customer bind <%= @cache_secrets['customers'][@customer]['ip4'] %>:80 - bind <%= @cache_secrets['customers'][@customer]['ip6'] %>:80 + bind [<%= @cache_secrets['customers'][@customer]['ip6'] %>]:80 bind <%= @cache_secrets['customers'][@customer]['ip4'] %>:443 ssl crt /certs-private/combined.pem - bind <%= @cache_secrets['customers'][@customer]['ip6'] %>:443 ssl crt /certs-private/combined.pem + bind [<%= @cache_secrets['customers'][@customer]['ip6'] %>]:443 ssl crt /certs-private/combined.pem default_backend varnish backend varnish