[ignored]When use a haproxy as loadbalancer, how to let the same meeting goes to the same jitsi server?

I have set up a haproxy in front of two jitis server following the video guide

the haproxy config is:
frontend jitsi_meet_frontend
bind *:443 ssl crt /root/server.pem
mode http
option httpclose
option forwardfor
reqadd X-Forwarded-Proto:\ https
default_backend jitsi_meet

backend jitsi_meet
mode http
balance roundrobin
server meet1 meet1.jitsi.domain.com:443 check ssl verify none
server meet2 meet2.jitsi.domain.com:443 check ssl verify none

I have encounter 2 issue:

  1. I have allowed the camera and audio. but cannot see any thing
  2. I opened 2 browser to join the same meeting. but the http_bind request go to different jitisi server. one go to meet1 and the other go to meet2. is this normal ? in a word, Every bosh connection has a ?room= parameter. so how to use it to route users to the same shard ? is there any sample haproxy config file ?
1 Like