Configure HTTP connection to a CDN resource
You can configure which protocols users will use to connect to a CDN resource.
The HTTP/2 protocol is enabled by default; it speeds up content loading by compressing headers.
You can also:
- enable HTTP/3 connection, for example, if your content is only available in a mobile app or your users have an unstable internet connection;
- enable HTTPS-only connection if you want to block HTTP connections;
- redirect from HTTP to HTTPS;
- disable HTTP/2 connection in case of compatibility issues, for example, if the content source does not support HTTP/2.
You can use HTTP/2, HTTP/3, and HTTPS-only connections simultaneously. The content will be available via HTTPS, while both HTTP/2 and HTTP/3 protocol versions will be supported.
Enable HTTP/3 connection
- In the control panel, on the top menu, click Products and select CDN.
- In the CDN Resources section, open the CDN resource page → General.
- Select the Use HTTP3 check box.
- Click Apply. While settings are being applied, the CDN resource enters the
PROCESSINGstatus. You cannot apply other settings at this time. Settings take effect when the CDN resource transitions toACTIVE.
Enable HTTPS-only connection
You cannot simultaneously enable HTTPS-only connection and redirect from HTTP to HTTPS.
If you are using a personal domain, ensure that it is accessible via HTTPS. If the domain is not accessible, check the TLS(SSL) certificate for the CDN resource.
When this option is enabled, users connecting to the CDN resource via HTTP will receive a 403 Forbidden access error, and content will not be delivered to them.
- In the control panel, on the top menu, click Products and select CDN.
- In the CDN Resources section, open the CDN resource page → General.
- Select the Use only HTTPS check box.
- Click Apply. While settings are being applied, the CDN resource enters the
PROCESSINGstatus. You cannot apply other settings at this time. Settings take effect when the CDN resource transitions toACTIVE.
Redirect from HTTP to HTTPS
You cannot simultaneously redirect from HTTP to HTTPS and enable HTTPS-only connection.
If you are using a personal domain, ensure that it is accessible via HTTPS. If the domain is not accessible, check the TLS(SSL) certificate for the CDN resource.
Upon redirection, all HTTP requests will receive a 301 Moved Permanently response specifying the HTTPS address. Content will be delivered.
- In the control panel, on the top menu, click Products and select CDN.
- In the CDN Resources section, open the CDN resource page → General.
- Select the Redirect to HTTPS check box.
- Click Apply. While settings are being applied, the CDN resource enters the
PROCESSINGstatus. You cannot apply other settings at this time. Settings take effect when the CDN resource transitions toACTIVE.
Disable HTTP/2 connection
HTTP/2 protocol usage is enabled by default.
If HTTP/2 is disabled, connections will be established using the HTTP/1.1 protocol.
- In the control panel, on the top menu, click Products and select CDN.
- In the CDN Resources section, open the CDN resource page → General.
- Clear the Use HTTP2 check box.
- Click Apply. While settings are being applied, the CDN resource enters the
PROCESSINGstatus. You cannot apply other settings at this time. Settings take effect when the CDN resource transitions toACTIVE.