registry.consul.kvpath configures the KV path for manual routes.
The Consul KV path is watched for changes which get appended to the routing table. This allows for manual overrides and weighted round-robin routes.
As of version 1.5.7 fabio will treat the kv path as a prefix and combine the values of the key itself and all its subkeys in alphabetical order.
To see all updates you may want to set
You can modify the content of the routes with the
consul tool or via
the Consul API:
consul put fabio/config "route add svc /maint http://220.127.116.11:5000\nroute add svc / http://18.104.22.168:5000\n" # fabio >= 1.5.7 supports prefix match consul put fabio/config/maint "route add svc /maint http://22.214.171.124:5000" consul put fabio/config/catchall "route add svc / http://126.96.36.199:5000" consul delete fabio/config/maint
The default is
registry.consul.kvpath = /fabio/config