diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 00fa1b5f83..71e652a1a0 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -224,9 +224,9 @@ listen openqa 0.0.0.0:10044 listen pdc 0.0.0.0:10045 balance hdr(appserver) - server pdc-web01 check inter 10s rise 1 fall 2 - server pdc-web02 check inter 10s rise 1 fall 2 - option httpchk GET /rest_api/v1/ + server pdc-web01 pdc-web01:80 check inter 10s rise 1 fall 2 + server pdc-web02 pdc-web02:80 check inter 10s rise 1 fall 2 + option httpchk GET /pdc/rest_api/v1/ # 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 b55691ddf8..fafd58660b 100644 --- a/roles/haproxy/templates/haproxy.cfg.stg +++ b/roles/haproxy/templates/haproxy.cfg.stg @@ -203,8 +203,8 @@ listen openqa 0.0.0.0:10044 listen pdc 0.0.0.0:10045 balance hdr(appserver) - server pdc-web01 check inter 10s rise 1 fall 2 - option httpchk GET /rest_api/v1/ + server pdc-web01 pdc-web01:80 check inter 10s rise 1 fall 2 + option httpchk GET /pdc/rest_api/v1/ # 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.