-
Couldn't load subscription status.
- Fork 9.6k
Open
Labels
October 2025content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsproduct:workersRelated to Workers productRelated to Workers product
Description
Existing documentation URL(s)
What changes are you suggesting?
It currently states:
*example.com/matcheshttps://example.com/andhttps://www.example.com/.
But it doesn't clarify if that would also match https://myexample.com/.
Based on how the * suffix works for the path, I would suspect that it would, but it also seems like that would make it a less viable choice, vs 2 routes (example.com/*, *.example.com/*).
Additional information
Based on some quick tests, it looks like the * prefix will match, regardless of whether the wildcard matches the subdomain or the actual domain itself.
Metadata
Metadata
Labels
October 2025content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsproduct:workersRelated to Workers productRelated to Workers product