diff options
author | Quentin <quentin@deuxfleurs.fr> | 2020-09-13 11:46:14 +0200 |
---|---|---|
committer | Quentin <quentin@deuxfleurs.fr> | 2020-09-13 11:46:14 +0200 |
commit | da034dabfcedcded964b6022153cf5a8a7ae9380 (patch) | |
tree | 46a773e021e58c57a0a0436e4efd0deb133f0199 /app/build/jitsi-xmpp | |
parent | 744fa8b8c9cfd17ee34967f70393e7597d75daa6 (diff) | |
download | infrastructure-da034dabfcedcded964b6022153cf5a8a7ae9380.tar.gz infrastructure-da034dabfcedcded964b6022153cf5a8a7ae9380.zip |
Finally it seems to work
Diffstat (limited to 'app/build/jitsi-xmpp')
-rwxr-xr-x | app/build/jitsi-xmpp/xmpp_conf | 39 | ||||
-rwxr-xr-x | app/build/jitsi-xmpp/xmpp_run | 1 |
2 files changed, 23 insertions, 17 deletions
diff --git a/app/build/jitsi-xmpp/xmpp_conf b/app/build/jitsi-xmpp/xmpp_conf index 2a9278e..5990d07 100755 --- a/app/build/jitsi-xmpp/xmpp_conf +++ b/app/build/jitsi-xmpp/xmpp_conf @@ -8,31 +8,36 @@ EOF mkdir -p /etc/prosody/conf.{d,avail}/ cat > /etc/prosody/conf.avail/jitsi.deuxfleurs.fr.cfg.lua <<EOF VirtualHost "jitsi.deuxfleurs.fr" - authentication = "anonymous" - ssl = { - key = "/var/lib/prosody/jitsi.deuxfleurs.fr.key"; - certificate = "/var/lib/prosody/jitsi.deuxfleurs.fr.crt"; - } - modules_enabled = { - "bosh"; - "pubsub"; - } - c2s_require_encryption = false + authentication = "anonymous" + ssl = { + key = "/var/lib/prosody/jitsi.deuxfleurs.fr.key"; + certificate = "/var/lib/prosody/jitsi.deuxfleurs.fr.crt"; + } + modules_enabled = { + "bosh"; + "pubsub"; + } + c2s_require_encryption = false VirtualHost "auth.jitsi.deuxfleurs.fr" - ssl = { - key = "/var/lib/prosody/auth.jitsi.deuxfleurs.fr.key"; - certificate = "/var/lib/prosody/auth.jitsi.deuxfleurs.fr.crt"; - } - authentication = "internal_plain" - -admins = { "focus@auth.jitsi.deuxfleurs.fr" } + ssl = { + key = "/var/lib/prosody/auth.jitsi.deuxfleurs.fr.key"; + certificate = "/var/lib/prosody/auth.jitsi.deuxfleurs.fr.crt"; + } + authentication = "internal_plain" + admins = { "focus@auth.jitsi.deuxfleurs.fr"} Component "conference.jitsi.deuxfleurs.fr" "muc" +Component "internal.auth.jitsi.deuxfleurs.fr" "muc" + storage = "memory" + modules_enabled = { "ping"; } + admins = { "focus@auth.jitsi.deuxfleurs.fr", "jvb@auth.jitsi.deuxfleurs.fr" } + Component "jitsi-videobridge.jitsi.deuxfleurs.fr" component_secret = "${JITSI_SECRET_VIDEOBRIDGE}" Component "focus.jitsi.deuxfleurs.fr" component_secret = "${JITSI_SECRET_JICOFO_COMPONENT}" + EOF ln -sf \ diff --git a/app/build/jitsi-xmpp/xmpp_run b/app/build/jitsi-xmpp/xmpp_run index 8dfdf86..6383b65 100755 --- a/app/build/jitsi-xmpp/xmpp_run +++ b/app/build/jitsi-xmpp/xmpp_run @@ -10,6 +10,7 @@ ln -sf \ /usr/local/share/ca-certificates/auth.jitsi.deuxfleurs.fr.crt prosodyctl register focus auth.jitsi.deuxfleurs.fr ${JITSI_SECRET_JICOFO_USER} +prosodyctl register jvb auth.jitsi.deuxfleurs.fr ${JITSI_SECRET_VIDEOBRIDGE} mkdir /run/prosody touch /run/prosody/prosody.pid |