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

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 and i want to be able to connect to it from
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;

but still i get err:net_failed in
is there any way that i can allow connections from ?