ListenerXForwardedFor

data class ListenerXForwardedFor(val retriveClientIp: Boolean? = null, val retriveSlbId: Boolean? = null, val retriveSlbIp: Boolean? = null, val retriveSlbProto: Boolean? = null)

Constructors

Link copied to clipboard
fun ListenerXForwardedFor(retriveClientIp: Boolean? = null, retriveSlbId: Boolean? = null, retriveSlbIp: Boolean? = null, retriveSlbProto: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether to retrieve the client ip. It is read-only attribute.

Link copied to clipboard
val retriveSlbId: Boolean? = null

Whether to use the XForwardedFor header to obtain the ID of the SLB instance. Default to false.

Link copied to clipboard
val retriveSlbIp: Boolean? = null

Whether to use the XForwardedFor_SLBIP header to obtain the public IP address of the SLB instance. Default to false.

Link copied to clipboard

Whether to use the XForwardedFor_proto header to obtain the protocol used by the listener. Default to false.