LoadBalancing

Hello

I have this setup HAProxy and 2 jitsi meet i have problem the partciapant don’t go to the same room while haproxy configured with balance url_param room

This is HAProxy configuration

frontend haproxynode
bind *:80
bind *:443 ssl crt /etc/haproxy/certs/domainname.pem
http-request redirect scheme https unless { ssl_fc }
mode http
default_backend backendnodes

backend backendnodes
mode http
balance url_param room
option httpchk
hash-type consistent
http-request set-header X-Forwarded-Port %[dst_port]
http-request add-header X-Forwarded-Proto https if { ssl_fc }
option httpchk HEAD / HTTP/1.1\r\nHost:localhost
server node1 x.x.x.x:4444 check ssl verify none
server node2 x.x.x.x:4444 check ssl verify none

Thanks

There are multiple posts about this and examples. I’m not familiar with haproxy config but you can check for example: