Multiple conditionals in rules for routing

In the documentation here they use the following example Traefik Routers Documentation - Traefik

rule = "Host(``) || (Host(``) && Path(`/traefik`))"

What is not super unclear to me is which of these would this do:

  1. route requests for and and fail for a request like

2) route requests for and and also accept a request like

I guess what i'm asking is does the boolean evaluate the hosts as one set of conditions and then apply the path prefix to both or does it only apply to the

A router rule matches or not, to then apply middleware and forward to service for matches.

If you want different results for other domains, you should add another router.