mesosphere / marathon-lb

Marathon-lb is a service discovery & load balancing tool for DC/OS
Apache License 2.0
449 stars 301 forks source link

Add multiple backends for the same vhost #660

Open nadendlaprasad opened 4 years ago

nadendlaprasad commented 4 years ago

Is it possible to add multiple backend servers with the given single vhost?

Tried below configuration to achieve . But didn't work

"HAPROXY_0_REDIRECT_TO_HTTPS": "false", "HAPROXY_GROUP": "external", "HAPROXY_0_BACKEND_SERVER_OPTIONS": " timeout connect 10s\n timeout client 86400s\n timeout server 86400s\n timeout tunnel 86400s\n server {serverName} 192.168.7.20:81\n", "HAPROXY_1_BACKEND_SERVER_OPTIONS": " timeout connect 10s\n timeout client 86400s\n timeout server 86400s\n timeout tunnel 86400s\n server {serverName} 192.168.7.21:81\n", "HAPROXY_0_VHOST": "faas-gateway.invent.sparkster.me"

do you see any issue with the above configuration ?