Configure CDN http and https endpoints separately.