Currently, as far as I can tell, routes need to be explicit for a given host, hence loading is very heavy because every route needs to be configured for a service.
What would be nice is a wildcard so only the host is taken into account and all traffic is redirected to that host:
For example, any of these requests:
http://fabio_server_ip:9999/foo.example.com/v1.0/about
http://fabio_server_ip:9999/foo.example.com/v1.0/login
would be redirected here:
foo.example.com/*
foo_1 10.0.0.2:32789
foo_2 10.0.0.3:32872
so foo_1 and 2 would receive this:
10.0.0.2:32789/v1.0/about
10.0.0.3:32872/v1.0/login
If there is a way to do this now, then I don't see it in the code or docs. Please explain.
I have to either be explicit or do this shit:
http://fabio_server_ip:9999/foo/v1.0/about
http://fabio_server_ip:9999/foo/v1.0/login
would be handled here:
/foo
foo_1 10.0.0.2:32789
foo_2 10.0.0.3:32872
and foo_1 and 2 receive this:
10.0.0.2:32789/foo/v1.0/about
10.0.0.3:32872/foo/v1.0/login
so now the server has to account for the hostname in the path which is BS.
Currently, as far as I can tell, routes need to be explicit for a given host, hence loading is very heavy because every route needs to be configured for a service.
What would be nice is a wildcard so only the host is taken into account and all traffic is redirected to that host:
For example, any of these requests:
would be redirected here:
so foo_1 and 2 would receive this:
If there is a way to do this now, then I don't see it in the code or docs. Please explain.
I have to either be explicit or do this shit:
would be handled here:
and foo_1 and 2 receive this:
so now the server has to account for the hostname in the path which is BS.