Enclose ipv6 addresses in []

This commit is contained in:
Patrik Lundin 2024-10-11 14:00:23 +02:00
parent 4d7283e361
commit 8227300a34
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -29,9 +29,9 @@ defaults
frontend customer frontend customer
bind <%= @cache_secrets['customers'][@customer]['ip4'] %>:80 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]['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 default_backend varnish
backend varnish backend varnish