gobetween
gobetween copied to clipboard
Configuration for request forwarding
Is it possible to configure GoBetween to just forward incoming TCP requests to the static server list?
e.g. If a user enters localhost:3000, the user forwarded to localhost:999 or localhost:777.
My current config file:
[servers.sample] protocol = "tcp" bind = "localhost:3000" balance = "roundrobin"
[servers.sample.discovery] kind = "static" static_list = [ "localhost:999", "localhost:777" ]
BR, Uroš
Not sure what do you mean under "just forward" and "TCP requests", but yes this is what should happen, go-between will proxy TCP connection data to the server selected by the balance method