Scenario | Converted Status Code |
After the node successfully establishes a TCP connection with the origin site and initiates an HTTP/HTTPS request to it, the origin site directly responds with an RST packet. | 520 |
The node requests the origin site, and during the TCP connection establishment phase, the origin site directly sends an RST packet. | 521 |
The node requests the origin site, and during the TCP connection establishment phase, the origin site does not respond until the node times out. | 522 |
If the origin site configured for the domain name is a domain name, then when the node returns to the origin, it needs to resolve the domain name to obtain the origin site server IP address, but the resolution fails, causing the node to be unable to return to the origin. | 523 |
After the node successfully establishes a TCP connection with the origin site and initiates an HTTP/HTTPS request to it, the origin site does not respond until the node times out. | 524 |
If the origin protocol is HTTPS, the node needs to perform an SSL handshake with the origin site when returning to the origin, but the handshake fails. | 525 |
Field | Description |
Origin IP address/Domain Name | Supports entering an IP address or domain name. The value supports variables, as well as concatenation of constants & variables. |
Target Hostname | The enumerated values are "Follow Request" and "Custom". When "Custom" is selected, the input value supports variables, as well as concatenation of constants & variables. |
Target Request Protocol | Enumerated values: "Follow Request" (default value), "HTTP", "HTTPS" . |
HTTP Origin Port | The default value is 80. Customization is supported. |
HTTPS Origin Port | The default value is 443. Customization is supported. |
Target Path | Enumerated values: "Follow Request" (default value), "Add Path Prefix", "Remove Path Prefix", "Custom Full Path", "Regex Replacement". |
HTTP/2 Origin Fetch | Off (default value), On |
Origin Request Parameter Configuration | By default, all query strings and cookies are retained. Customization is supported. |
Field | Description |
Bucket. | Select a bucket that your account has permission to access from the drop-down list. |
Bucket Access Method | Default domain name, static website |
Private Access Authorization | Enable this option if the bucket is set to private read. |
Target Path | Enumerated values: "Follow Request" (default value), "Add Path Prefix", "Remove Path Prefix", "Custom Full Path", "Regex Replacement" |
HTTP/2 Origin Fetch | Enable, Disable (default value) |
Origin Request Parameter Configuration | By default, all query strings and cookies are retained. Customization is supported. |
Field | Description |
Bucket address | S3 origin site domain, for example, example.s3.ap-northeast.amazonaws.com |
Private Access Authorization | Enable this option if the bucket is set to private read. |
Signature Authentication Version | AWS signature v4,AWS signature v2 |
Access Key ID | Enter the actual value for signature calculation. |
Secret Access Key | Enter the actual value for signature calculation. |
Target Path | Enumerated values: "Follow Request" (default value), "Add Path Prefix", "Remove Path Prefix", "Custom Full Path", "Regex Replacement". |
HTTP/2 Origin Fetch | Enable, Disable (default value) |
Origin Request Parameter Configuration | By default, all query strings and cookies are retained. Customization is supported. |
Field | Description |
URL address | Supports variables, as well as concatenation of constants & variables. |
Status code. | Enumeration values: 301, 302, III, 307, 308. |
Field | Description |
Page | Select a custom response page that your account has permission to access from the drop-down list. |
Status code. | Specify the status code for the response page. Supported codes are 2XX, 4XX, and 5XX, excluding 499, 514, 101, 301, 302, 303, 509, and 520-599. |
shop.example.com. During peak user traffic periods, the origin site may become overloaded and return status codes such as 503/522/544. To avoid user churn, you might want the system to automatically retry another origin site, origin.sitefailover.com, when these status codes are detected (the origin protocol, path, parameters, and so on, remain unchanged by default). If the retry still fails, the request is then redirected via a 302 status code to a specified URL, https://www.example.com/error.html. You can follow the steps below to configure this.shop.example.com.Origin to Specified IP/Domain, enter origin.sitefailover.com for the origin IP/domain, and keep the other configurations at their default values without modification.Redirect to Specified URL, choose 302 for the status code, and enter http://www.example.com/custom-page.html for the URL address.
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback