To configure the directory server to get traffic through a load balancer and to record the actual client's IP address: Edit the HTTP or HTTPS connection handler object and set use-forwarded-headers to true by running dsconfig. dsconfig set-connection-handler-prop \ --handler-name "HTTPS Connection Handler" \ --set use-forwarded-headers:true To finalize the changes to the HTTP or HTTPS connection handler, use dsconfig to restart the connection handler. dsconfig set-connection-handler-prop \ --handler-name "HTTPS Connection Handler" \ --set enabled:false dsconfig set-connection-handler-prop \ --handler-name "HTTPS Connection Handler" \ --set enabled:true To provide the X-Forwarded-* information to your load balancer, consult your provider's guide on configuring the load balancer settings.
To configure the directory server to get traffic through a load balancer and to record the actual client's IP address: Edit the HTTP or HTTPS connection handler object and set use-forwarded-headers to true by running dsconfig. dsconfig set-connection-handler-prop \ --handler-name "HTTPS Connection Handler" \ --set use-forwarded-headers:true To finalize the changes to the HTTP or HTTPS connection handler, use dsconfig to restart the connection handler. dsconfig set-connection-handler-prop \ --handler-name "HTTPS Connection Handler" \ --set enabled:false dsconfig set-connection-handler-prop \ --handler-name "HTTPS Connection Handler" \ --set enabled:true To provide the X-Forwarded-* information to your load balancer, consult your provider's guide on configuring the load balancer settings.