Skip to content

Commit 8ddd44a

Browse files
add docs from PR #854 to fabio.properties
1 parent bb95a1c commit 8ddd44a

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

fabio.properties

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,12 +634,21 @@
634634
# "cmd": "string",
635635
# "service": "string",
636636
# "src": "string",
637-
# "dest": "string",
637+
# "dst": "string",
638638
# "weight": float,
639639
# "tags": ["string"],
640640
# "opts": {"string":"string"}
641641
# }
642642
# ]
643+
# Short description of the fields required for a custom backend
644+
#
645+
# - cmd - the command to add, remove or change weight of a route. For example `route add` to add a new route mapping.
646+
# - service - the name that the service will show up in the UI.
647+
# - src - usually the prefix that will be used in the routing table.
648+
# - dst - the endpoint that will be used as the destination of the routing table.
649+
# - weight - defines the weight of this path to perform routing. For example route A 90% and route B 10% for canary deployments.
650+
# - tags - a list of tags, provide a way to filter routes, making it easier to do operations like bulk deletes `route del tags "dev"`.
651+
# - opts - a KV map of the config language list of options. for example `proto` or `prefix`
643652
#
644653
# The default is
645654
#

0 commit comments

Comments
 (0)