Load Balancer - Protocol requirements

Hi There,

I am planning a Matomo to be used with a Load Balancer.

The Matomo documentation does not specify what kind of Load Balancer it is compatible with (Layer 4 or Layer 7).

I saw some users posting in the community they are using the Layer 7. Can someone confirm the requirements for this implementation?

Thank you!

You can use Layer 7 without any issues.

E.g. HAProxy with mode http is already a layer 7 load balancer. Refer to this page to get some information about tracking the real client IP and more: https://matomo.org/faq/how-to-install/faq_98/