I am currently trying to migrate my website to Cloudflare Pages, with custom domain set up. While the site is served with no problem at all, I realise some of the features of Cloudflare no longer work:
- Page rules: Page rules no longer match my domain, which points the Cloudflare Pages custom domain (CNAME foo.pages.dev)
- Always Use HTTPS: No longer redirects non-https request to https
- Workers: Workers no longer triggers when user visit the specific route
- wrangler CLI:
wrangler devfailed with error
Error: HTTP status client error (400 Bad Request), where the route key in wrangler.toml pointed to the Cloudflare Pages custom domain
The above issues affect the root domain/subdomain that is CNAME to foo.pages.dev, other subdomain are unaffected, all features works completely fine.
May I know if currently Cloudflare Pages is not yet fully integrated with those features, or it is a bug?
Any suggestions is welcome. Thank you for your help.