There was an error while loading. Please reload this page.
1 parent ec0f9a6 commit 0c2227eCopy full SHA for 0c2227e
1 file changed
src/roles/haproxy/templates/haproxy.cfg.j2
@@ -46,7 +46,7 @@ defaults
46
47
frontend www-http
48
bind *:80
49
- {% if ansible_default_ipv6.address | length > 0 -%}
+ {% if ansible_default_ipv6 | length > 0 -%}
50
bind {{ ansible_default_ipv6.address }}:80
51
{%- endif %}
52
@@ -55,7 +55,7 @@ frontend www-http
55
56
frontend www-https
57
bind *:443 ssl crt /etc/haproxy/certs/
58
59
# Create an AAAA record in DNS using the IP below to IPv6 enable your wiki
60
bind {{ ansible_default_ipv6.address }}:443 ssl crt /etc/haproxy/certs/
61
0 commit comments