See Configure an S3 compatible object storage provider for uploads
You need a real cdn, like bunny.net, not cloudflare.