Redirect HTTP to HTTPS. Set up a redirect from HTTP to HTTPS

Note: only one redirect option can be enabled on a CDN Resource.

You can start redirecting HTTP traffic to HTTPS via API (more info in the API documentation) or control panel.

To enable the redirect option in the control panel, go to the CDN Resources settings:

1. Get free Let’s Encrypt certificate or add your own SSL certificate in the General -> SSL section and save changes. More info in the guide “Add a SSL certificate to transfer content over HTTPS”.

mceclip0.png

2. Go to the Access -> Redirect HTTP to HTTPS section, enable the option and save changes.

mceclip1.png

The error “You cannot enable redirect HTTP to HTTPS when HTTPS is disabled. Please enable HTTPS and add SSL certificate firstmeans that you didn't add a certificate or that the issuing of a Let’s Encrypt certificate for your account wasn’t completed. As usual it takes about 15 minutes.

Was this article helpful?
Recently viewed articles