diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 6417ac3653..195c0f3803 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -186,10 +186,10 @@ listen kerneltest 0.0.0.0:10038 server kerneltest01 kerneltest01:80 check inter 10s rise 1 fall 2 option httpchk GET /kerneltest -#listen koschei 0.0.0.0:10040 -# balance hdr(appserver) -# server koschei01 koschei01:80 check inter 10s rise 1 fall 2 -# option httpchk GET /koschei/ +listen koschei 0.0.0.0:10040 + balance hdr(appserver) + server koschei01 koschei01:80 check inter 10s rise 1 fall 2 + option httpchk GET /koschei/ # Apache doesn't handle the initial connection here like the other proxy # entries. This proxy also doesn't use the http mode like the others. diff --git a/roles/haproxy/templates/haproxy.cfg.stg b/roles/haproxy/templates/haproxy.cfg.stg index 9fdb5c8455..4c4023be7d 100644 --- a/roles/haproxy/templates/haproxy.cfg.stg +++ b/roles/haproxy/templates/haproxy.cfg.stg @@ -174,10 +174,10 @@ listen kerneltest 0.0.0.0:10038 server kerneltest01 kerneltest01:80 check inter 10s rise 1 fall 2 option httpchk GET /kerneltest -#listen koschei 0.0.0.0:10040 -# balance hdr(appserver) -# server koschei01 koschei01:80 check inter 10s rise 1 fall 2 -# option httpchk GET /koschei/ +listen koschei 0.0.0.0:10040 + balance hdr(appserver) + server koschei01 koschei01:80 check inter 10s rise 1 fall 2 + option httpchk GET /koschei/ # Apache doesn't handle the initial connection here like the other proxy # entries. This proxy also doesn't use the http mode like the others.