diff options
author | David Blaisonneau <david.blaisonneau@orange.com> | 2016-08-22 16:10:00 +0200 |
---|---|---|
committer | David Blaisonneau <david.blaisonneau@orange.com> | 2016-08-22 16:10:00 +0200 |
commit | 318c3e5aa6c0c78fca0fdeaf2533f14ffb9adc99 (patch) | |
tree | d04455ba7148f00c8bd98ff738dcb58f9739f491 /ci | |
parent | bec772690557249e5bb487f2ff6f4a63343ef5c6 (diff) |
add service_options in haproxy configuration
Change-Id: I8072d87ba9416267a735553dcfb48b5ac8c66813
Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
Diffstat (limited to 'ci')
-rw-r--r-- | ci/config_tpl/public-api-proxy.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
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: |