Behavior when two routers have same rules?

Hey Folks! Wondering what is the behavior when two routers have the same rule(s), like if they both had the same rule "Host(example.com)", or "Path(/test)". In testing I've been able to create two different routers with that same Host rule and traefik doesn't return any errors. It looks like traefik is alternating between each router. Is this the expected behavior? How should I guard against two routers have the same rule? I was hoping Traefik would return an error. Thanks for the help!

1 Like