diff --git a/files/ha_haproxy.cfg.j2 b/files/ha_haproxy.cfg.j2 index 09db8d1..2b230e0 100644 --- a/files/ha_haproxy.cfg.j2 +++ b/files/ha_haproxy.cfg.j2 @@ -49,6 +49,9 @@ defaults errorfile 503 /etc/haproxy/errors/503.http errorfile 504 /etc/haproxy/errors/504.http +resolvers localdns + parse-resolv-conf + # The web frontend frontend http_https @@ -117,5 +120,5 @@ backend listas_ansol # Saucy backend saucy - server saucy 10.81.14.206:80 check + server saucy saucy.lxd:80 check resolvers localdns resolve-prefer ipv4