From 318c3e5aa6c0c78fca0fdeaf2533f14ffb9adc99 Mon Sep 17 00:00:00 2001 From: David Blaisonneau Date: Mon, 22 Aug 2016 16:10:00 +0200 Subject: [PATCH] add service_options in haproxy configuration Change-Id: I8072d87ba9416267a735553dcfb48b5ac8c66813 Signed-off-by: David Blaisonneau --- ci/config_tpl/public-api-proxy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/config_tpl/public-api-proxy.yaml b/ci/config_tpl/public-api-proxy.yaml index b746850c..2e06ffff 100644 --- a/ci/config_tpl/public-api-proxy.yaml +++ b/ci/config_tpl/public-api-proxy.yaml @@ -7,6 +7,7 @@ - service_name: {{ service.name }} service_host: {{ public_api_ip }} service_port: {{ service.port }} + service_options: [mode http, balance leastconn], servers: [[{{ service.name }},{{ service.ip }},{{ service.port }}]] {% endfor %} to: -- 2.16.6