From 1bf4b6b76f4cfb214882168bc57cb6b26067a51e Mon Sep 17 00:00:00 2001 From: Dan Goodman Date: Thu, 4 May 2023 17:47:17 -0400 Subject: [PATCH] Fix staging label bug I think this is the correct fix based on the `service-role-destination` format, but seeing as it wasn't changed I assumed it was incorrect. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8ae2121c..64f82e76 100644 --- a/README.md +++ b/README.md @@ -308,7 +308,7 @@ You can specialize the default Traefik rules by setting labels on the containers labels: traefik.http.routers.hey-web.rule: Host(`app.hey.com`) ``` -Traefik rules are in the "service-role-destination" format. The default role will be `web` if no rule is specified. If the destination is not specified, it is not included. To give an example, the above rule would become "traefik.http.routers.hey-web.rule" if it was for the "staging" destination. +Traefik rules are in the "service-role-destination" format. The default role will be `web` if no rule is specified. If the destination is not specified, it is not included. To give an example, the above rule would become "traefik.http.routers.hey-web-staging.rule" if it was for the "staging" destination. Note: The backticks are needed to ensure the rule is passed in correctly and not treated as command substitution by Bash!