add service_options in haproxy configuration
[joid.git] / ci / config_tpl / public-api-proxy.yaml
index b746850..2e06fff 100644 (file)
@@ -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: