aboutsummaryrefslogtreecommitdiff
path: root/app/jitsi/integration/prosody
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-01-28 17:52:41 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-01-28 17:52:41 +0100
commit7b57ff72a918ca295e2b00e76da33eec700c6a2a (patch)
tree6f19d8c5260cadc3535ee3343f662d4217719c23 /app/jitsi/integration/prosody
parentebb772e5ba26944ac002c236d33ef164e91c6a7d (diff)
downloadinfrastructure-7b57ff72a918ca295e2b00e76da33eec700c6a2a.tar.gz
infrastructure-7b57ff72a918ca295e2b00e76da33eec700c6a2a.zip
Simplify prosody too
Diffstat (limited to 'app/jitsi/integration/prosody')
-rw-r--r--app/jitsi/integration/prosody/prosody.cfg.lua34
1 files changed, 34 insertions, 0 deletions
diff --git a/app/jitsi/integration/prosody/prosody.cfg.lua b/app/jitsi/integration/prosody/prosody.cfg.lua
new file mode 100644
index 0000000..edfd820
--- /dev/null
+++ b/app/jitsi/integration/prosody/prosody.cfg.lua
@@ -0,0 +1,34 @@
+component_ports = { 5347 }
+component_interface = "0.0.0.0"
+http_ports = { ${JITSI_PROSODY_BOSH_PORT} }
+log = {
+ error="/dev/stderr"
+ info="/dev/stdout"
+}
+
+VirtualHost "jitsi.deuxfleurs.fr"
+ authentication = "anonymous"
+ ssl = {
+ key = "/var/lib/prosody/jitsi.key";
+ certificate = "/var/lib/prosody/jitsi.crt";
+ }
+ modules_enabled = {
+ "bosh";
+ "pubsub";
+ }
+ c2s_require_encryption = false
+
+VirtualHost "auth.jitsi.deuxfleurs.fr"
+ ssl = {
+ key = "/var/lib/prosody/auth.jitsi.key";
+ certificate = "/var/lib/prosody/auth.jitsi.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" }
+