Volcengine Kubernetes Engine
Parameter | Description |
Parameter | Description |
Forwarding conditions | Configure forwarding conditions, including the domain name, path, and HTTP header.
|
Forwarding actions | Select Redirect to for the Forwarding actions parameter and configure the redirection rule.
|
Field | Type | Description | Default value |
Field | Type | Description | Default value |
type | String | The action type of the custom forwarding rule. When you configure redirection, you need to set the value to Redirect. | None |
redirectConfig.host | String | The target domain name for redirection. Exact domain matching is supported. | None |
redirectConfig.path | String | The target URI for redirection. It must start with a forward slash (/). It can contain letters, digits, and special characters (-, _, /, ., %, ?, #, &, and =). The length is limited to 1 to 128 characters. | None |
redirectConfig.httpCode | String | The redirection status code. Supports redirection status codes: 301, 302, 307, and 308. | None |
redirectConfig.port | Integer | The port for redirection. The value can range from 1 to 65535. | None |
redirectConfig.protocol | String | The protocol for redirection. Supported protocols include HTTP and HTTPS. | None |
Field | Type | Description | Default value |
Field | Type | Description | Default value |
host | String | The domain name that incoming requests must match. | None |
path | String | The path pattern to match. | None |
ruleAction | String | The action to take when rule conditions are met. Valid values:
| Redirect |
redirectConfig | Array of redirectConfig | The redirection rules. | None |
Field | Type | Description | Default value |
Field | Type | Description | Default value |
domain | String | The target domain name for redirection. Exact domain matching is supported. If this parameter is not specified, it will be assigned the default value (null), which means it will match the requested domain. | None |
uri | String | The target URI for redirection. It must start with a forward slash (/). It can contain letters, digits, and special characters (-, _, /, ., %, ?, #, &, and =). The length is limited to 1 to 128 characters. If this parameter is not specified, it will be assigned the default value (null), which means it will match the requested URI. | nu |
port | Integer | The port for redirection. The value can range from 1 to 65535. If this parameter is not specified, it will be assigned the default value (null), which means it will match the request port. | nu |
httpCode | String | The redirection status code. Supports redirection status codes: 301, 302, 307, and 308. The default value is 301. | 301 |
protocol | String | The protocol for redirection. Supported protocols include HTTP and HTTPS. The default protocol is HTTPS. | HTTPS |
to view rule details. The rule details should be consistent with the configured ones.