Skip to content

passing multiple routes via command line #776

@vjeantet

Description

@vjeantet

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions