Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traefik v3 Host rule expects single value #3

Open
robflate opened this issue Sep 4, 2024 · 0 comments
Open

Traefik v3 Host rule expects single value #3

robflate opened this issue Sep 4, 2024 · 0 comments

Comments

@robflate
Copy link

robflate commented Sep 4, 2024

Traefik v3 now expects all rules matchers to have a single value (except Header , HeaderRegexp , Query , and QueryRegexp which take two) and should be explicitly combined using logical operators to mimic previous v2 behaviour;

- "traefik.http.routers.lazyload.rule=Host(`whoami.example.com`, `lazyloader.example.com`)" - Old fails
- "traefik.http.routers.lazyload.rule=Host(`whoami.example.com`) || Host(`lazyloader.example.com`)" - New works

https://doc.traefik.io/traefik/routing/routers/

Using the Quick-Start Docker Compose fails on Traefik v3 until the syntax is corrected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant