Skip to main content

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:

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, from the top menu, click Products and select CDN.
  2. In the CDN resources section, open the CDN resource page → General tab.
  3. Select the Use HTTP3 checkbox.
  4. Click Apply. While the settings are being applied, the CDN resource will have the PROCESSING status. During this time, applying other settings is unavailable. The settings will apply when the CDN resource changes to the ACTIVE status.

Enable HTTPS-only connection

You cannot enable only HTTPS connection and redirect from HTTP to HTTPS at the same time.

If you are using a custom domain, make sure that it is accessible via HTTPS. If the domain is unavailable, check the TLS (SSL) certificate of the CDN resource.

When enabling the option, users connecting to the CDN resource via HTTP will receive a 403 Forbidden access error, and the content will not be delivered to them.

  1. In the control panel, from the top menu, click Products and select CDN.
  2. In the CDN resources section, open the CDN resource page → General tab.
  3. Select the Use only HTTPS checkbox.
  4. Click Apply. While the settings are being applied, the CDN resource will have the PROCESSING status. During this time, applying other settings is unavailable. The settings will apply when the CDN resource changes to the ACTIVE status.

Redirect from HTTP to HTTPS

You cannot redirect from HTTP to HTTPS and enable only HTTPS connection at the same time.

If you are using a custom domain, make sure that it is accessible via HTTPS. If the domain is unavailable, check the TLS (SSL) certificate of the CDN resource.

When redirecting, all HTTP requests will receive responses about this — 301 Moved Permanently specifying the HTTPS address. The content will be delivered.

  1. In the control panel, from the top menu, click Products and select CDN.
  2. In the CDN resources section, open the CDN resource page → General tab.
  3. Select the Redirect to HTTPS checkbox.
  4. Click Apply. While the settings are being applied, the CDN resource will have the PROCESSING status. During this time, applying other settings is unavailable. The settings will apply when the CDN resource changes to the ACTIVE status.

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, from the top menu, click Products and select CDN.
  2. In the CDN resources section, open the CDN resource page → General tab.
  3. Clear the Use HTTP2 checkbox.
  4. Click Apply. While the settings are being applied, the CDN resource will have the PROCESSING status. During this time, applying other settings is unavailable. The settings will apply when the CDN resource changes to the ACTIVE status.