ListenerForwardedForConfig

data class ListenerForwardedForConfig(val forwardedForGaApEnabled: Boolean? = null, val forwardedForGaIdEnabled: Boolean? = null, val forwardedForPortEnabled: Boolean? = null, val forwardedForProtoEnabled: Boolean? = null, val realIpEnabled: Boolean? = null)

Constructors

Link copied to clipboard
fun ListenerForwardedForConfig(forwardedForGaApEnabled: Boolean? = null, forwardedForGaIdEnabled: Boolean? = null, forwardedForPortEnabled: Boolean? = null, forwardedForProtoEnabled: Boolean? = null, realIpEnabled: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specifies whether to use the GA-AP header to retrieve the information about acceleration regions. Default value: false. Valid values:

Link copied to clipboard

Specifies whether to use the GA-ID header to retrieve the ID of the GA instance. Default value: false. Valid values:

Link copied to clipboard

Specifies whether to use the GA-X-Forward-Port header to retrieve the listener ports of the GA instance. Default value: false. Valid values:

Link copied to clipboard

Specifies whether to use the GA-X-Forward-Proto header to retrieve the listener protocol of the GA instance. Default value: false. Valid values:

Link copied to clipboard
val realIpEnabled: Boolean? = null

Specifies whether to use the X-Real-IP header to retrieve client IP addresses. Default value: false. Valid values: