PingDirectory

Configuring traffic through a load balancer using the administrative console

About this task

To configure the PingDirectory server to get traffic through a load balancer and to record the actual client’s IP address:

Steps

  1. On the PingDirectory administrative console Configuration page, click Connection Handlers.

  2. To edit your HTTP or HTTPS connection handler, in the Connection Handlers list, select the connection handler you want to edit.

  3. To enable Forwarded headers, go to Use Forwarded Headers and select the Enabled check box.

  4. Click Save.

  5. To finalize the changes to the HTTP or HTTPS connection handler, use dsconfig to restart the connection handler.

    Example:

    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

    Because disabling the connection handler brings down the administrative console, you must complete this step in the command line instead of the administrative console.

  6. To provide the X-Forwarded-* information to your load balancer, consult your provider’s guide on configuring the load balancer settings.