aboutsummaryrefslogtreecommitdiff
path: root/app/jitsi/integration/prosody
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-01-28 18:55:56 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-01-28 18:55:56 +0100
commit4809e27220d4805bce8f14585f902097f53607ee (patch)
tree88f3089023ca73dff5a79c97c5a019a58b9f8e95 /app/jitsi/integration/prosody
parent7b57ff72a918ca295e2b00e76da33eec700c6a2a (diff)
downloadinfrastructure-4809e27220d4805bce8f14585f902097f53607ee.tar.gz
infrastructure-4809e27220d4805bce8f14585f902097f53607ee.zip
WIP integration jitsi
Diffstat (limited to 'app/jitsi/integration/prosody')
-rw-r--r--app/jitsi/integration/prosody/accounts.txt2
-rw-r--r--app/jitsi/integration/prosody/prosody.cfg.lua49
2 files changed, 41 insertions, 10 deletions
diff --git a/app/jitsi/integration/prosody/accounts.txt b/app/jitsi/integration/prosody/accounts.txt
new file mode 100644
index 0000000..ef4f2cd
--- /dev/null
+++ b/app/jitsi/integration/prosody/accounts.txt
@@ -0,0 +1,2 @@
+focus auth.jitsi xxx
+jvb auth.jitsi yyy
diff --git a/app/jitsi/integration/prosody/prosody.cfg.lua b/app/jitsi/integration/prosody/prosody.cfg.lua
index edfd820..5f18e2a 100644
--- a/app/jitsi/integration/prosody/prosody.cfg.lua
+++ b/app/jitsi/integration/prosody/prosody.cfg.lua
@@ -1,12 +1,41 @@
-component_ports = { 5347 }
+daemonize = false
+allow_registration = false
+use_libevent = true
component_interface = "0.0.0.0"
-http_ports = { ${JITSI_PROSODY_BOSH_PORT} }
+component_ports = { 5347 }
+http_ports = { 5280 }
+
+-- Not sure all modules are required
+modules_enabled = {
+ "roster"; -- Allow users to have a roster. Recommended ;)
+ "saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.
+ "tls"; -- Add support for secure TLS on c2s/s2s connections
+ "dialback"; -- s2s dialback support
+ "disco"; -- Service discovery
+ "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
+ "compression"; -- Stream compression (requires the lua-zlib package installed)
+ "version"; -- Replies to server version requests
+ "uptime"; -- Report how long server has been running
+ "time"; -- Let others know the time here on this server
+ "ping"; -- Replies to XMPP pings with pongs
+ "pep"; -- Enables users to publish their mood, activity, playing music and more
+ -- jitsi
+ "smacks";
+ "carbons";
+ "mam";
+ "lastactivity";
+ "offline";
+ "pubsub";
+ "adhoc";
+ "websocket";
+ "http_altconnect";
+}
+
log = {
- error="/dev/stderr"
- info="/dev/stdout"
+ "*console";
}
-VirtualHost "jitsi.deuxfleurs.fr"
+VirtualHost "jitsi"
authentication = "anonymous"
ssl = {
key = "/var/lib/prosody/jitsi.key";
@@ -18,17 +47,17 @@ VirtualHost "jitsi.deuxfleurs.fr"
}
c2s_require_encryption = false
-VirtualHost "auth.jitsi.deuxfleurs.fr"
+VirtualHost "auth.jitsi"
ssl = {
key = "/var/lib/prosody/auth.jitsi.key";
certificate = "/var/lib/prosody/auth.jitsi.crt";
}
authentication = "internal_plain"
- admins = { "focus@auth.jitsi.deuxfleurs.fr"}
+ admins = { "focus@auth.jitsi"}
-Component "conference.jitsi.deuxfleurs.fr" "muc"
-Component "internal.auth.jitsi.deuxfleurs.fr" "muc"
+Component "conference.jitsi" "muc"
+Component "internal.auth.jitsi" "muc"
storage = "memory"
modules_enabled = { "ping"; }
- admins = { "focus@auth.jitsi.deuxfleurs.fr", "jvb@auth.jitsi.deuxfleurs.fr" }
+ admins = { "focus@auth.jitsi", "jvb@auth.jitsi" }