You can redirect requests to a custom error page for specific error status codes returned by the origin. The redirection is performed when a 302 is returned.
Note:Only status codes returned for origin-pull requests are supported.
Configuration Item | Description |
---|---|
Status code | Specifies the error status code returned by the origin:
|
Page address | Specifies the error page address, such as http://www.example.com/custom-page.html |
The following configuration sample shows how to redirect requests to a custom error page for the 404 Not Found error:
Was this page helpful?