Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration for request forwarding #287

Open
xUrko opened this issue Jun 15, 2020 · 1 comment
Open

Configuration for request forwarding #287

xUrko opened this issue Jun 15, 2020 · 1 comment

Comments

@xUrko
Copy link

xUrko commented Jun 15, 2020

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š

@yyyar
Copy link
Owner

yyyar commented Jun 17, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants