-
Notifications
You must be signed in to change notification settings - Fork 617
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
Fabio confi help with multiple proto #490
Comments
@magiconair Do you think it is possible to expose my TCP services at 2303 and HTTP services at 9999. |
Is this can be done in Fabio? Or do we need to configure separate fabio instances per Protocol? |
If you need a TCP listener and also an HTTP listener to enable the HTTP features you will need to define multiple listeners on different ports and/or different IPs. Example from our lab configuration:
This binds to |
Thanks that worked perfectly. What I have seen is we need to define TCP first and then HTTP. |
Thanks, @leprechau , I looked for some time for how to chain protocols. The documentation seems to omit this. |
Np, I'll see about adding a more complete example to the documentation. |
Agreed, adding a couple of examples would be awesome! :) |
Sorry, I forgot about this ... I'll add to the docs today. |
Better late than never I guess. Sorry for the delay. |
No worries :) |
My consul services is having multiple services with different protocols, some use http and other tcp. Now I'm trying to populate the fabio routing table with all these services with the following command.
The issue is my http services are not available since fabio is being exposed as a TCP proxy at port 2302.
fabio-1.5.8-go1.10-windows_amd64.exe -registry.consul.addr 10.XXX.XXX.XX:8500 -proxy.addr :2302;proto=tcp, :/;proto=http
The text was updated successfully, but these errors were encountered: