Skip to main content

Configure HTTP connection to a CDN resource

Last update:

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:

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

  1. In the control panel, on the top menu, click Products and select CDN.
  2. In the CDN Resources section, open the CDN resource page → General.
  3. Select the Use HTTP3 check box.
  4. Click Apply. While settings are being applied, the CDN resource enters the PROCESSING status. You cannot apply other settings at this time. Settings take effect when the CDN resource transitions to ACTIVE.

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.

  1. In the control panel, on the top menu, click Products and select CDN.
  2. In the CDN Resources section, open the CDN resource page → General.
  3. Select the Use only HTTPS check box.
  4. Click Apply. While settings are being applied, the CDN resource enters the PROCESSING status. You cannot apply other settings at this time. Settings take effect when the CDN resource transitions to ACTIVE.

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.

  1. In the control panel, on the top menu, click Products and select CDN.
  2. In the CDN Resources section, open the CDN resource page → General.
  3. Select the Redirect to HTTPS check box.
  4. Click Apply. While settings are being applied, the CDN resource enters the PROCESSING status. You cannot apply other settings at this time. Settings take effect when the CDN resource transitions to ACTIVE.

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.

  1. In the control panel, on the top menu, click Products and select CDN.
  2. In the CDN Resources section, open the CDN resource page → General.
  3. Clear the Use HTTP2 check box.
  4. Click Apply. While settings are being applied, the CDN resource enters the PROCESSING status. You cannot apply other settings at this time. Settings take effect when the CDN resource transitions to ACTIVE.