The Gcore Customer Portal is being updated. Screenshots may not show the current version.
BillingCDN resources overviewOrigin groupPurgePrefetchReports
Chosen image
Home/CDN/CDN resource options/Access/Redirect from 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 redirect HTTP traffic to HTTPS via API (more info in the API documentation) or in the Gcore Customer Portal. 

To enable the redirect option in the Gcore Customer Portal, go to the CDN resource settings: 

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

CDN Resources settings

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


The error "You cannot enable redirect HTTP to HTTPS when HTTPS is disabled. Please enable HTTPS and add SSL certificate first" means 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?

Not a Gcore user yet?

Learn more about our next-gen CDN

Go to the product page