static/jsvm/interfaces/core.TrustedProxyConfig.html
MarshalJSON implements the [json.Marshaler] interface.
Validate makes RateLimitRule validatable by implementing [validation.Validatable] interface.
headers: string[]
Headers is a list of explicit trusted header(s) to check.
useLeftmostIP: boolean
UseLeftmostIP specifies to use the left-mostish IP from the trusted headers.
Note that this could be insecure when used with X-Forwarded-For header because some proxies like AWS ELB allow users to prepend their own header value before appending the trusted ones.
OSLightDark
Generated using TypeDoc