4 ms·
As of 1.6 it does allow resolvable hostnames [1]. This is the example given in the release announcement: resolvers docker nameserver dnsmasq 127.0.0.1
by vidarh 11y ago
As of 1.6 it does allow resolvable hostnames [1]. This is the example given in the release announcement:
resolvers docker
nameserver dnsmasq 127.0.0.1:53
defaults
mode http
log global
option httplog
frontend f_myapp
bind :80
default_backend b_myapp
backend b_myapp
server s1 nginx1:80 check resolvers docker resolve-prefer ipv4
[1] http://blog.haproxy.com/2015/10/14/whats-new-in-haproxy-1-6/ http://blog.haproxy.com/2015/10/14/whats-new-in-haproxy-1-6/