Note quoting issue

This commit is contained in:
David Heinemeier Hansson
2023-01-12 17:42:49 +01:00
parent 184ab18667
commit 76d34d2a1c

View File

@@ -99,9 +99,11 @@ You can specialize the default Traefik rules by setting custom labels on the con
```
labels:
traefik.http.routers.hey.rule: 'Host(`app.hey.com`)'
traefik.http.routers.hey.rule: '''Host(`app.hey.com`)'''
```
(Note: The extra quotes are needed to ensure the rule is passed in correctly!)
This allows you to run multiple applications on the same server sharing the same Traefik instance and port.
See https://doc.traefik.io/traefik/routing/routers/#rule for a full list of available routing rules.