Hi , Here is my prosody.cfg.lua. Do you think something is missing from it
admins = { }
modules_enabled = {
-- Generally required
"roster"; -- Allow users to have a roster. Recommended ;)
"saslauth"; -- Authentication for clients and servers. Recommended$
"tls"; -- Add support for secure TLS on c2s/s2s connections
"dialback"; -- s2s dialback support
"disco"; -- Service discovery
-- Not essential, but recommended
"carbons"; -- Keep multiple clients in sync
"pep"; -- Enables users to publish their mood, activity, playing m$
"private"; -- Private XML storage (for room bookmarks, etc.)
"blocklist"; -- Allow users to block communications with other use$
"vcard"; -- Allow users to set vCards
"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
"register"; -- Allow users to register on this server using a clie$
-- Admin interfaces
"admin_adhoc"; -- Allows administration via an XMPP client that su$
-- Other specific functionality
"posix";
}
allow_registration = false
pidfile = “/var/run/prosody/prosody.pid”;
c2s_require_encryption = false
s2s_require_encryption = true
s2s_secure_auth = false
authentication = “internal_hashed”
archive_expires_after = “1w”
log = {
– Log files (change ‘info’ to ‘debug’ for debug logs):
info = “/var/log/prosody/prosody.log”;
error = “/var/log/prosody/prosody.err”;
– Syslog:
{ levels = { “error” }; to = “syslog”; };
}
certificates = “certs”
component_interface = { “" }
Include "conf.d/.cfg.lua”
config file
plugin_paths = { “/usr/share/jitsi-meet/prosody-plugins/” }
– domain mapper options, must at least have domain base set to use the mapper
muc_mapper_domain_base = “test.jitsi.com”;
turncredentials_secret = “turnSecret”;
turncredentials = {
{ type = “stun”, host = “test.jitsi.com”, port = “443” },
{ type = “turn”, host = “test.jitsi.com”, port = “443”, transport = "udp$ { type = “turns”, host = “test.jitsi.com”, port = “443”, transport = "tc$};
cross_domain_websocket = true;
consider_websocket_secure = true;
cross_domain_bosh = false;
consider_bosh_secure = true;
–https_ports = { }; – Remove this line to prevent listening on port 5284
– Mozilla SSL Configuration Generatorssl = {
protocol = "tlsv1_2+";
ciphers = "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA}
VirtualHost “test.jitsi.com”
– enabled = false – Remove this line to enable this host
authentication = “anonymous”
– Properties below are modified by jitsi-meet-tokens package config
– and authentication above is switched to “token”
–app_id=“example_app_id”
app_id=""
app_secret=""
–app_secret=“example_app_secret”
– Assign this host a certificate for TLS, otherwise it would use the one
– set in the global section (if any).
– Note that old-style SSL on port 5223 only supports one certificate, and$ – use the global one.
ssl = {
key = “/etc/prosody/certs/test.jitsi.com.key”;
certificate = “/etc/prosody/certs/test.jitsi.com.crt”;
}
speakerstats_component = “speakerstats.test.jitsi.com”
conference_duration_component = “conferenceduration.test.jitsi.com” – we need bosh
modules_enabled = {
“bosh”;
“pubsub”;
“websocket”;
“ping”; – Enable mod_ping
“speakerstats”;
“turncredentials”;
“conference_duration”;
“muc_size”;
}
smacks_hibernation_time = 60;
smacks_max_hibernated_sessions = 1;
smacks_max_old_sessions = 1;
c2s_require_encryption = false
lobby_muc = “lobby.test.jitsi.com”
main_muc = “conference.test.jitsi.com”
muc_lobby_whitelist = { “recorder.test.jitsi.com” } – Here we can$
Component “conference.test.jitsi.com” “muc”
storage = “memory”
modules_enabled = {
“muc_meeting_id”;
“muc_domain_mapper”;
}
admins = { “focus@auth.test.jitsi.com”, “focus@test.jitsi.com”$ muc_room_locking = false
muc_room_default_public_jids = true
– internal muc component
Component “internal.auth.test.jitsi.com” “muc”
storage = “memory”
modules_enabled = {
“ping”;
}
admins = { “focus@auth.test.jitsi.com”,"jvb@auth.test.jitsi.com $ muc_room_locking = false
muc_room_default_public_jids = true
VirtualHost “auth.test.jitsi.com”
ssl = {
key = “/etc/prosody/certs/auth.test.jitsi.com.key”;
certificate = “/etc/prosody/certs/auth.test.jitsi.com.crt”;
}
authentication = “internal_plain”
VirtualHost “recorder.test.jitsi.com”
modules_enabled = {
“ping”;
}
authentication = “internal_plain”
Component “focus.test.jitsi.com”
component_secret = “4433”
Component “speakerstats.test.jitsi.com” “speakerstats_component”
muc_component = “conference.test.jitsi.com”
Component “conferenceduration.test.jitsi.com” "conference_duration_compone$ muc_component = “conference.test.jitsi.com”
Component “lobby.test.jitsi.com” “muc”
storage = “memory”
restrict_room_creation = true
muc_room_locking = false
muc_room_default_public_jids = true