Merge pull request #267 from danthegoodman1/patch-1

Fix staging label bug in README
This commit is contained in:
David Heinemeier Hansson
2023-05-05 11:25:22 +02:00
committed by GitHub

View File

@@ -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!