diff --git a/confd/templates/haproxy.cfg.tmpl b/confd/templates/haproxy.cfg.tmpl index 344745d7503986f0785cdd4e89861b7a1df4baa5..d2d2979bfcd9b0262057f3ff28f42c6ef0686eee 100644 --- a/confd/templates/haproxy.cfg.tmpl +++ b/confd/templates/haproxy.cfg.tmpl @@ -11,6 +11,8 @@ global defaults mode http + option forwardfor + option httpclose option httplog option dontlognull retries 3 @@ -58,8 +60,6 @@ frontend http-in # {{base $hostname}}: backend {{base $hostname}} cookie SERVERID insert nocache indirect - option httpclose - option forwardfor server Server {{$data.ip}}:{{$data.port}} cookie Server {{end}} {{end}}