InlineHttpPolicyLbVirtualServer1

InlineHttpPolicyLbVirtualServer1
InlineHttpPolicyLbVirtualServer1
JSON Example
{
    "insert_client_ip_header": false
}
boolean
insert_client_ip_header
Optional

Backend web servers typically log each request they handle along with the requesting client IP address. These logs are used for debugging, analytics and other such purposes. If the deployment topology requires enabling SNAT on the load balancer, then server will see the client as the SNAT IP which defeats the purpose of logging. To work around this issue, load balancer can be configured to insert XFF HTTP header with the original client IP address. Backend servers can then be configured to log the IP address in XFF header instead of the source IP address of the connection. If XFF header is not present in the incoming request, load balancer inserts a new XFF header with the client IP address.