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 ensure all traffic is encrypted, the load balancer can be configured to handle only HTTPS connections, to manage secure HTTP traffic exclusively.
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:
-
Open the <Connect installation dir>\WebServer\conf\web.xml file.
-
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> -
Save the file.

