Closed vjeantet closed 4 years ago
My bad.
Found solutions in code, it works with :
./fabio --proxy.addr ":1234;proto=tcp,:1235;proto=tcp" --registry.backend "static" --registry.static.routes "
route add routeA :1234 tcp://127.0.0.1:1000
route add routeB :1235 tcp://127.0.0.1:1001"
Hello,
how to pass multiple route as command line ?
While using static backend, fabio seems to accept only one route via command line, this command line works
./fabio --proxy.addr = ":1234;proto=tcp" --registry.backend = "static" --registry.static.routes = "route add routeA :1234 tcp://127.0.0.1:1000"
But with 2 routes, it fails:
./fabio --proxy.addr = ":1234;proto=tcp,:1235;proto=tcp" --registry.backend = "static" --registry.static.routes = "route add routeA :1234 tcp://127.0.0.1:1000 \ route add routeB :1235 tcp://127.0.0.1:1001"