[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy

InlineHttpPolicyLbVirtualServer1

Properties

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.

JSON Example

{
	"insert_client_ip_header": false
}

Vendor Extensions

This class contains the following vendor extensions defined in the spec:
x-vmw-nsx-module: TempPolicyLoadBalancer
[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Used By

HttpPolicyLbVirtualServer

Feedback

Was this page helpful?