Redirect HTTP to HTTPS. Set up a redirect from HTTP to HTTPS
To start redirecting HTTP traffic to HTTPS go to the CDN Resources section -> Settings -> Show advanced settings -> Access (Security) -> Redirect HTTP to HTTPS.
To enable redirect from HTTPS to HTTP use API documentation.
Only one redirect option can be enabled on a CDN Resource.