Use hiera data for ip4/ip6
This commit is contained in:
parent
498ee6d2f1
commit
1247c7f0be
1 changed files with 4 additions and 2 deletions
|
@ -28,8 +28,10 @@ defaults
|
|||
errorfile 504 /usr/local/etc/haproxy/errors/504.http
|
||||
|
||||
frontend customer
|
||||
bind <%= @customer_ip %>:80
|
||||
bind <%= @customer_ip %>:443 ssl crt /certs-private/combined.pem
|
||||
bind <%= @cache_secrets['customers'][@customer]['ip4'] %>: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
|
||||
default_backend varnish
|
||||
|
||||
backend varnish
|
||||
|
|
Loading…
Add table
Reference in a new issue