Routes to assign workers domain+subdomain mix


I was reading this page on routes and was hoping if someone could confirm if my understanding is correct.

Using the UI above, I should be able to add routes for the following configurations, is that correct? → → →

Does this I do not need to add the following configuration to wrangler.toml?

zone_id = "$yourZoneId"
route = "*"


In the image, you match all subdomains and all paths to have no Worker firing.

For what you described you’d need 3 routes:*Worker1*Worker2*Worker3

Or in wrangler.toml you could add the route for each worker.
route = "*

route = "*

route = "*

1 Like

Awesome. Thanks for clarifying, @Walshy!