summaryrefslogtreecommitdiff
path: root/baserock_frontend/haproxy.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'baserock_frontend/haproxy.cfg')
-rw-r--r--baserock_frontend/haproxy.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/baserock_frontend/haproxy.cfg b/baserock_frontend/haproxy.cfg
index 193effd5..1217e957 100644
--- a/baserock_frontend/haproxy.cfg
+++ b/baserock_frontend/haproxy.cfg
@@ -29,6 +29,9 @@ defaults
log global
option httplog
+ # never fail on address resolution
+ default-server init-addr last,libc,none
+
frontend http-in
# All HTTP traffic is redirected to HTTPS using the '301 Moved' HTTP code.
bind *:80