GetDomainsDomainRedirect

data class GetDomainsDomainRedirect(val backends: List<String>, val connectTimeout: Int, val focusHttpBackend: Boolean, val keepalive: Boolean, val keepaliveRequests: Int, val keepaliveTimeout: Int, val loadbalance: String, val readTimeout: Int, val requestHeaders: List<GetDomainsDomainRedirectRequestHeader>, val retry: Boolean, val sniEnabled: Boolean, val sniHost: String, val writeTimeout: Int)

Constructors

Link copied to clipboard
constructor(backends: List<String>, connectTimeout: Int, focusHttpBackend: Boolean, keepalive: Boolean, keepaliveRequests: Int, keepaliveTimeout: Int, loadbalance: String, readTimeout: Int, requestHeaders: List<GetDomainsDomainRedirectRequestHeader>, retry: Boolean, sniEnabled: Boolean, sniHost: String, writeTimeout: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The IP address of the origin server corresponding to the domain name or the back-to-origin domain name of the server.

Link copied to clipboard

Connection timeout, Unit: seconds, value range: 5~120.

Link copied to clipboard

Whether to enable forced HTTP back-to-origin. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).

Link copied to clipboard

Open long connection, default true.

Link copied to clipboard

Number of long connections, default: 60. range :60-1000.

Link copied to clipboard

Long connection over time, default: 15. Range: 1-60.

Link copied to clipboard

The load balancing algorithm used when returning to the source.

Link copied to clipboard

Read timeout duration. Unit: seconds, Value range: 5~1800.

Link copied to clipboard

The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is {" k ":"_key_"," v ":"_value_"}. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.

Link copied to clipboard

Back to Source Retry. default true, retry 3 times by default.

Link copied to clipboard

Whether to enable back-to-source SNI. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).

Link copied to clipboard

Sets the value of the custom SNI extension field. If this parameter is not set, the value of the Host field in the request header is used as the value of the SNI extension field by default.In general, you do not need to customize SNI unless your business has special configuration requirements. You want WAF to use SNI that is inconsistent with the actual request Host in the back-to-origin request (that is, the custom SNI set here).> This parameter is required only when sni_enalbed is set to true (indicating that back-to-source SNI is enabled).

Link copied to clipboard

Write timeout duration. Unit: seconds, Value range:5~1800.