BRIX On-Premises > Prepare infrastructure > Load balancer / Configure HAProxy for BRIX web 

HAProxy configuration for BRIX web

The architecture of a highly available BRIX cluster involves the interaction of BRIX application microservices within a resilient cluster. To evenly balance traffic between Kubernetes cluster servers, install a HAProxy configuration. This will ensure stable system operation in case of a failure.

Example HAProxy configuration for BRIX web

This article presents a HAProxy configuration that balances client connections coming to elma365.your_domain between Kubernetes cluster servers.

In order to create a HAProxy configuration for BRIX web, perform the following actions:

  1. Open the haproxy.cfg configuration file for editing using the following command:

sudo nano /etc/haproxy/haproxy.cfg

  1. Edit the haproxy.cfg configuration file:

Configuration example:

Example of a HAProxy configuration using SSL

  1. Restart HAProxy to apply changes:

sudo systemctl restart haproxy