From 8c7f974e067ffc6bbb4c25f2a5e2deda623a732c Mon Sep 17 00:00:00 2001 From: Armael Date: Sun, 9 Feb 2025 14:49:04 +0000 Subject: [PATCH] README: document that the "tricot" tag supports glob patterns --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4238594..9c2574f 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Tricot uses the following environment variables for its configuration (they can Backends are configured by adding tags of the following form to the services in Consul: -- `tricot myapp.example.com`: indicates that Tricot should get a TLS certificate for domain myapp.example.com and route traffic for this domain to this service +- `tricot myapp.example.com`: indicates that Tricot should get a TLS certificate for domain myapp.example.com and route traffic for this domain to this service. Also supports glob patterns (for instance, `tricot *` redirects requests for all domains). - `tricot myapp.example.com 10`: same but with a priority of 10. This is lower than the default priority value of 100, so Tricot will only use this rule if no higher-priority services are available. - `tricot myapp.example.com/path/to_subresource`: same but indicates that only requests whose paths start with `/path/to/subresource` should be routed to this service - `tricot myapp.example.com/path/to_subresource 10`: combining the previous two examples