tutankhamen
CDCloudflare Developers
•Created by ASK on 8/29/2023 in #workers-help
Custom domain should trigger worker path
Log in to the Cloudflare dashboard.
Select Workers & Pages -> [your worker]
Select the tab Triggers
Click: "Add Custom Domain" and add domain.com
Once that's done...
Click on the Cloudflare logo to go back to the Websites section
Select domain.com
Expand "Rules" in the sidebar
Select "Transform Rules"
Click "Create rule"
Use these settings:
When incoming requests match…
URI Path -> equals -> /
Rewrite to...
Static -> page1
Click "Deploy"
That should do it.
5 replies