Configuration behind load balancers

This section describes how to configure Connect if a load balancer is deployed in front of it.

Overview

A load balancer can be deployed in front of Connect to distribute network traffic across multiple servers. This helps ensure that no single server becomes overwhelmed with requests and thus enhancing availability and performance.

To ensure all traffic is encrypted, the load balancer can be configured to handle only HTTPS connections, that is, managing secure HTTP traffic exclusively.

Back to top

Session cookies configuration

If Connect is deployed behind a load balancer that handles HTTPS connections only, session cookies should be configured as follows.

To configure session cookies for secure connections:

  1. Open the <Connect installation dir>\WebServer\conf\web.xml file.

  2. Locate the <session-config> node, and add the following in this node:

    Copy code
    <session-config>
    ...
    <cookie-config>
        <http-only>true</http-only>
        <secure>true</secure>
    </cookie-config>
    ...
    </session-config>
  3. Save the file.

Back to top