infrastructure/app/jitsi/integration/prosody/prosody.cfg.lua

65 lines
1.8 KiB
Lua
Raw Normal View History

2021-01-28 17:55:56 +00:00
daemonize = false
allow_registration = false
use_libevent = true
2021-01-28 16:52:41 +00:00
component_interface = "0.0.0.0"
2021-01-28 17:55:56 +00:00
component_ports = { 5347 }
http_ports = { 5280 }
2021-01-28 18:28:15 +00:00
https_ports = {}
2021-01-28 17:55:56 +00:00
-- 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.
"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
2021-01-28 18:28:15 +00:00
--"smacks"; -- not shipped with prosody
2021-01-28 17:55:56 +00:00
"carbons";
"mam";
"lastactivity";
"offline";
"pubsub";
"adhoc";
"websocket";
2021-01-28 18:28:15 +00:00
--"http_altconnect"; -- not shipped with prosody
2021-01-28 17:55:56 +00:00
}
2021-01-28 16:52:41 +00:00
log = {
2021-01-28 18:28:15 +00:00
--log less on console with warn="*console"; or err="*console" or more with debug="*console"
info="*console";
2021-01-28 16:52:41 +00:00
}
2021-01-28 17:55:56 +00:00
VirtualHost "jitsi"
2021-01-28 16:52:41 +00:00
authentication = "anonymous"
ssl = {
key = "/var/lib/prosody/jitsi.key";
certificate = "/var/lib/prosody/jitsi.crt";
}
modules_enabled = {
"bosh";
"pubsub";
}
c2s_require_encryption = false
2021-01-28 17:55:56 +00:00
VirtualHost "auth.jitsi"
2021-01-28 16:52:41 +00:00
ssl = {
key = "/var/lib/prosody/auth.jitsi.key";
certificate = "/var/lib/prosody/auth.jitsi.crt";
}
authentication = "internal_plain"
2021-01-28 17:55:56 +00:00
admins = { "focus@auth.jitsi"}
2021-01-28 16:52:41 +00:00
2021-01-28 17:55:56 +00:00
Component "conference.jitsi" "muc"
Component "internal.auth.jitsi" "muc"
2021-01-28 16:52:41 +00:00
storage = "memory"
modules_enabled = { "ping"; }
2021-01-28 17:55:56 +00:00
admins = { "focus@auth.jitsi", "jvb@auth.jitsi" }
2021-01-28 16:52:41 +00:00