yyyar / gobetween

:cloud: Modern & minimalistic load balancer for the Сloud era
http://gobetween.io
Other
1.91k stars 210 forks source link

Static list not supporting apps on IIS web site #286

Open xUrko opened 4 years ago

xUrko commented 4 years ago

I have set applications which run on IIS web site on the static list.

[servers.sample.discovery] kind = "static" static_list = [ "localhost/dap", "localhost/bap", ]

When I start gobetween app, I get the following error:

2020-06-15 14:56:13 [WARNI] (discovery/static): Cant parse localhost/dap 2020-06-15 14:56:13 [WARNI] (discovery/static): Cant parse localhost/bap

Is there any way how to add such apps on the list?

BR, Uroš

yyyar commented 4 years ago

static_list should contain entries in the "host:port" format. I'm not sure what you tried to accomplish adding "/dap" and "/bap" there, but this seems incorrect.