Updated on 2024-10-16 GMT+08:00

Overview

After adding a domain name, you can customize the domain name to improve pull efficiency, website security, and cache hit ratio. Custom configuration items include OBS authorization, configuration replication, basic settings, origin settings, HTTPS settings, cache settings, access control, and advanced settings.

  • IP addresses belong to carriers and change irregularly. Although Huawei Cloud periodically updates the IP address library, the update may be delayed. As a result, some access control functions may occasionally block or allow requests, or client requests may not be scheduled to the optimal PoP.

Basic Settings

You can configure the settings of a domain name that is in the Enabled or Configuring state and is not locked or banned by CDN.

Item

Description

Modifying Origin Server Settings

If the IP address or domain name of the origin server changes, origin server information is incorrect, or a standby origin server is needed, modify the origin server settings.

Modifying the Host Header

If the domain name you want CDN to pull content is not your acceleration domain name, set a host header. CDN regards an acceleration domain name as the host by default.

Modifying the Service Type

If the services of your domain name change and its service type cannot meet your requirements, you can change the service type on the CDN console.

Allowing Clients to Access CDN Using IPv6

To allow users to access CDN PoPs using IPv6, enable IPv6 on the CDN console.

Origin Settings

You can configure the settings of a domain name that is in the Enabled or Configuring state and is not locked or banned by CDN.

Item

Description

Origin Protocol

You can configure the request protocol used by CDN for origin pull.

Origin SNI

If your origin server IP address is bound to multiple domains and CDN visits the origin server using HTTPS, you can set the Server Name Indication (SNI) to specify the domain to be visited by CDN.

Origin URL Rewriting

If the URLs of origin pull requests do not match the origin server URLs, you can rewrite the request URLs to improve the origin pull hit ratio.

Advanced Origins

You can configure advanced origins to allow CDN to pull content from different origin servers based on different resource types or paths.

Range Requests

If you need to improve the distribution efficiency of large files, you can enable range requests.

Redirect from Origin

Assume that 302/301 redirect is performed for your origin server address. If you do not want CDN to directly send a 302/301 redirect address to users but to instead cache the requested content and then forward the content to users, you can enable redirect from origin.

ETag Verification

If your resources on the origin server remain unchanged and you do not want CDN to pull the resources after the cache expires, you can enable ETag verification.

Origin Request Headers

You can rewrite a header in an origin pull request on the CDN console.

Origin Response Timeout

You can adjust the origin response timeout based on the features and service scenarios of your origin server.

HTTPS Settings

You can configure the settings of a domain name that is in the Enabled or Configuring state and is not locked or banned by CDN.

Function

Description

Configuring an HTTPS Certificate

You can add a certificate for HTTPS acceleration.

HTTPS Certificate Requirements

Describes the combination and upload sequence of certificates issued by different authorities

HTTPS Certificate Format Conversion

You can convert certificates in other formats to the PEM format that CDN supports.

TLS Versions

You can enable or disable TLS versions as required.

Force Redirect

You can force redirect to HTTP or HTTPS.

HSTS

You can configure HSTS to force clients (such as browsers) to use HTTPS to access your server, improving access security.

HTTP/2

Describes the background and advantages of HTTP/2.

OCSP Stapling

If you enable this function, CDN will cache the status of online certificates in advance and return the status to browsers. Browsers do not need to query the status from CAs, accelerating the verification.

QUIC

You can configure the QUIC protocol to improve transmission security, reduce transmission and connection latency, and prevent network congestion.

Cache Settings

You can configure the settings of a domain name that is in the Enabled or Configuring state and is not locked or banned by CDN.

Item

Description

PoP Cache Rules

  • You can set the time to live (TTL) and priority for different resources to increase the hit ratio and reduce the back-to-source rate.

Browser Cache TTL

You can set a browser cache TTL, during which users can obtain content directly from their browser cache (if available), reducing origin pulls.

Status Code Cache TTL

You can cache error status codes returned by the origin server to CDN PoPs, so CDN can return the error codes to users when they request resources. You can also set the status code cache TTL to reduce origin pull and pressure.

Access Control

You can configure the settings of a domain name that is in the Enabled or Configuring state and is not locked or banned by CDN.

Item

Description

Referer Validation

Configure this item when you need to identify and filter visitors to restrict access.

IP ACL

Configure this item when you need to use IP address filtering to restrict access.

User-Agent ACL

Configure this item when you need to use User-Agent filtering to restrict access.

Token Authentication

Configure this item when you need to protect your website resources from being downloaded by malicious users.

Remote Authentication

Configure this item to allow CDN to forward user requests to a specific server for authentication, to prevent malicious resource download.

IP Access Frequency

You can restrict the number of times that a single IP address requests a URL from a PoP per second to defend against CC attacks and malicious theft.

Advanced Settings

You can configure the settings of a domain name that is in the Enabled or Configuring state and is not locked or banned by CDN.

Item

Description

HTTP Header Settings (Cross-origin Requests)

You can customize values of HTTP response headers for your website.

Custom Error Pages

You can customize error pages returned to user clients.

Smart Compression

You can compress static content on your websites by reducing file size. This speeds up file transfer and saves you a lot of bandwidth.

Request Rate Limiting

You can limit the user request rate within a specific range to reduce costs and the risk of burst bandwidth.

Video Settings

You can configure the settings of a domain name that is in the Enabled or Configuring state and is not locked or banned by CDN.

Item

Description

Video Seek

Configure this item to allow users to seek to a certain position in a video without affecting the playback effect.