docker-jitsi-meet
docker-jitsi-meet copied to clipboard
How to configure Multidomain support for Jitsi Meet Docker ? (Behind CDN)
Hi there, I was trying to attach those two domains to my jitsi meet docker installation.
The relationship between those domains is xyz.cdn pointed to abc.example by CNAME.
- abc.example
- xyz.cdn
My installation is created with abc.example. And I want to make it accessible by xyz.cdn. Just configured DNS record then connect, prosody throws the following error:
Disconnecting client, <stream:error> is: <stream:error>
<host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
<text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>This server does not serve xyz.cdn</text>
</stream:error>
Then I searched for relating problems, found those solutions:
- Same Jitsi-Meet instance with multiple domain names 1
- config.js.multidomain.example 2
- jitsi.example.com.multidomain.example
However, none of above works. I was hoping to set nginx Host to abc.example could solve this problem (1st link above), it didn’t work (does this something to do with WebSocket? )
I’m using following nginx configuration:
location /xmpp-websocket {
proxy_pass http://xmpp.abc.example:5280/xmpp-websocket;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host abc.example;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_read_timeout 900s;
}
My problem is how can I set up multidomain support successfully?
Thanks in advance.