Open caewok opened 3 years ago
Hey thanks! The last piece I needed for my "jitsi and foundry behind traefik on a digital ocean droplet" setup was that I was lacking the "@DOMAINNAME" from my username! :D
Thanks for this! I'm going to flag it as an enhancement ticket to get the info added to the README or a wiki.
Hey thanks for this, I finally managed to get foundry working with my own jitsi instance. I got it working now, though the performance is still weird, some specific users have dropping cam and audio connection very frequently, also the module kinda of frooze my foundry installation each session once.
Not a bug issue but rather some tips for setting up a self-hosted jitsi VM, after some long trial-and-error. Thought it might be helpful to users here.
I have set up a self-hosted server successfully both from an Ubuntu 20.04 VM and from Vultr's One-Click Jitsi app. The VTTA instructions are helpful, but in the end I did not follow their instructions for CORS or for enabling authentication (see below for how I did it). In both cases, I had to do the following:
Cloudflare DNS In order to generate the Let's Encrypt certificate, change the following beforehand in Cloudflare for your domain name:
After you actually generate the Let's Encrypt certificate, you can revert these settings.
Firewall Before generating the Let's Encrypt certificate, allow ports 80 and 443:
You will also need to allow UDP ports for jitsi communications:
sudo ufw allow 10000:20000/udp
CORS Foundry will fail to connect, logging CORS errors unless you switch the configuration to allow cross domains. Edit the Prosody configuration at
/etc/prosody/config.avail/[DOMAIN].cfg.lua
by adding or modifying:cross_domain_bosh = true
User authentication If you are using the Vultr one-click or a similar setup, follow those instructions to enable user authentication if you want. If you are installing from a Ubuntu VM, the instructions from the Jitsi Secure Domain setup worked for me. It is a bit simpler, however, to create users in Prosody by using
sudo prosodytcl adduser username@DOMAINNAME
.Foundry settings In Foundry, your custom settings should look like (no https prefix, btw):