Allow lib-jitsi-meet to connect to jitsi meet server from diffrent host

hi,
I have a Jitsi meet server and i want to connect to it using lib-jitsi-meet from another origin
e.g my jitsi meet server is meet.example.com and i want to be able to connect to it from example.com/meet/someroom
I changed nginx config in /http-bind reverse proxy like this:

location = /http-bind {
        proxy_pass       http://localhost:5280/http-bind;
        proxy_set_header X-Forwarded-For $remote_addr;
        proxy_set_header Host meet.example.com;
    }

but still i get err:net_failed in meet.example.com/http-bind?roomName=someroom
is there any way that i can allow connections from example.com ?