-
Notifications
You must be signed in to change notification settings - Fork 619
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 proxy for consul not work, log show no route #212
Comments
@cjdxlgb Try using only one tag By adding |
@magiconair by the way, is fabio enable to do session sticky like nginx? thank you, best wish from china. |
@cjdxlgb I'm glad it works now. No sticky session support at this point but I am thinking about it. |
@cjdxlgb Greetings from Amsterdam, NL :) |
@magiconair |
thank you so much! last 2 question: 2, i read fabio.properties, there is no config like the weigth in nginx, i want to proxy for each service with different wight, do it is support? where cant i find more fabio document besides this github site. |
@magiconair as last reply. |
|
Thank you for your patience.
Now I want to use fabio proxy for this 3 service, and I want to use same url access this 3 service through fabio. for example: 10.1.21.22:9999/website/test, fabio will load banlance to 3 target service. How can I do, register 3 service with different serviceId or register 1 service with 3 tags, if I register 1 service with 3 tags, how can I config 3 different Health Check http url. I hope you understand what I mean.
|
I try like this:
And I access http://10.1.22.12:9999/website2/test, have 50% return http 404, I think it is route to wrong service. |
fabio does not support path rewriting. If you need to access a service under To test this make sure the following works:
|
@magiconair You forgot to reply to the question 2 about load wight:
|
@magiconair
my english is poor, and i need some help from you, can you help me?
I regist a service in consul like this and success:
and i start fabio by default:
I read the doc of fabio github quickstart, but i can not understand what the urlprefix means and how to work, i and many tags and consul, but it is not work.
thank you very much!
The text was updated successfully, but these errors were encountered: