2019-11-12 15:40:20 +00:00
|
|
|
plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }
|
2015-11-02 21:02:50 +00:00
|
|
|
|
2019-12-04 14:59:28 +00:00
|
|
|
-- domain mapper options, must at least have domain base set to use the mapper
|
|
|
|
muc_mapper_domain_base = "jitmeet.example.com";
|
|
|
|
|
2020-01-09 16:51:27 +00:00
|
|
|
turncredentials_secret = "__turnSecret__";
|
|
|
|
|
|
|
|
turncredentials = {
|
2020-07-07 13:14:28 +00:00
|
|
|
{ type = "stun", host = "jitmeet.example.com", port = "3478" },
|
|
|
|
{ type = "turn", host = "jitmeet.example.com", port = "3478", transport = "udp" },
|
2020-01-09 16:51:27 +00:00
|
|
|
{ type = "turns", host = "jitmeet.example.com", port = "443", transport = "tcp" }
|
|
|
|
};
|
|
|
|
|
|
|
|
cross_domain_bosh = false;
|
|
|
|
consider_bosh_secure = true;
|
2020-05-12 14:32:37 +00:00
|
|
|
-- https_ports = { }; -- Remove this line to prevent listening on port 5284
|
2020-01-09 16:51:27 +00:00
|
|
|
|
2020-05-20 16:56:05 +00:00
|
|
|
-- https://ssl-config.mozilla.org/#server=haproxy&version=2.1&config=intermediate&openssl=1.1.0g&guideline=5.4
|
|
|
|
ssl = {
|
|
|
|
protocol = "tlsv1_2+";
|
|
|
|
ciphers = "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384"
|
|
|
|
}
|
|
|
|
|
2014-09-05 12:22:21 +00:00
|
|
|
VirtualHost "jitmeet.example.com"
|
|
|
|
-- enabled = false -- Remove this line to enable this host
|
|
|
|
authentication = "anonymous"
|
2015-12-22 18:51:43 +00:00
|
|
|
-- Properties below are modified by jitsi-meet-tokens package config
|
2015-11-02 21:02:50 +00:00
|
|
|
-- and authentication above is switched to "token"
|
2015-12-22 18:51:43 +00:00
|
|
|
--app_id="example_app_id"
|
|
|
|
--app_secret="example_app_secret"
|
2014-09-05 12:22:21 +00:00
|
|
|
-- 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 will always
|
|
|
|
-- use the global one.
|
|
|
|
ssl = {
|
|
|
|
key = "/etc/prosody/certs/jitmeet.example.com.key";
|
|
|
|
certificate = "/etc/prosody/certs/jitmeet.example.com.crt";
|
|
|
|
}
|
2019-12-04 22:07:02 +00:00
|
|
|
speakerstats_component = "speakerstats.jitmeet.example.com"
|
2020-01-14 12:11:51 +00:00
|
|
|
conference_duration_component = "conferenceduration.jitmeet.example.com"
|
2014-10-22 14:23:41 +00:00
|
|
|
-- we need bosh
|
|
|
|
modules_enabled = {
|
|
|
|
"bosh";
|
|
|
|
"pubsub";
|
2015-08-27 21:03:46 +00:00
|
|
|
"ping"; -- Enable mod_ping
|
2019-12-04 22:07:02 +00:00
|
|
|
"speakerstats";
|
2020-01-09 16:51:27 +00:00
|
|
|
"turncredentials";
|
2020-01-13 17:12:25 +00:00
|
|
|
"conference_duration";
|
2020-05-27 23:01:41 +00:00
|
|
|
"muc_lobby_rooms";
|
2014-10-22 14:23:41 +00:00
|
|
|
}
|
2017-04-16 18:19:47 +00:00
|
|
|
c2s_require_encryption = false
|
2020-05-27 23:01:41 +00:00
|
|
|
lobby_muc = "lobby.jitmeet.example.com"
|
|
|
|
main_muc = "conference.jitmeet.example.com"
|
|
|
|
-- muc_lobby_whitelist = { "recorder.jitmeet.example.com" } -- Here we can whitelist jibri to enter lobby enabled rooms
|
2017-04-16 18:19:47 +00:00
|
|
|
|
2014-09-05 12:22:21 +00:00
|
|
|
Component "conference.jitmeet.example.com" "muc"
|
2020-04-08 18:06:49 +00:00
|
|
|
storage = "memory"
|
2019-11-25 11:51:07 +00:00
|
|
|
modules_enabled = {
|
|
|
|
"muc_meeting_id";
|
2019-12-04 14:59:28 +00:00
|
|
|
"muc_domain_mapper";
|
2019-11-25 11:51:07 +00:00
|
|
|
-- "token_verification";
|
|
|
|
}
|
2019-12-18 15:46:49 +00:00
|
|
|
admins = { "focusUser@auth.jitmeet.example.com" }
|
2020-03-30 22:13:59 +00:00
|
|
|
muc_room_locking = false
|
|
|
|
muc_room_default_public_jids = true
|
2014-09-05 12:22:21 +00:00
|
|
|
|
2019-12-18 15:46:49 +00:00
|
|
|
-- internal muc component
|
|
|
|
Component "internal.auth.jitmeet.example.com" "muc"
|
2020-04-08 18:06:49 +00:00
|
|
|
storage = "memory"
|
2019-12-18 15:46:49 +00:00
|
|
|
modules_enabled = {
|
|
|
|
"ping";
|
|
|
|
}
|
|
|
|
admins = { "focusUser@auth.jitmeet.example.com", "jvb@auth.jitmeet.example.com" }
|
2020-04-08 18:06:49 +00:00
|
|
|
muc_room_locking = false
|
|
|
|
muc_room_default_public_jids = true
|
2014-12-02 19:11:54 +00:00
|
|
|
|
|
|
|
VirtualHost "auth.jitmeet.example.com"
|
2015-11-02 21:02:50 +00:00
|
|
|
authentication = "internal_plain"
|
2014-12-02 19:11:54 +00:00
|
|
|
|
|
|
|
Component "focus.jitmeet.example.com"
|
|
|
|
component_secret = "focusSecret"
|
2019-12-04 22:07:02 +00:00
|
|
|
|
|
|
|
Component "speakerstats.jitmeet.example.com" "speakerstats_component"
|
|
|
|
muc_component = "conference.jitmeet.example.com"
|
2020-01-13 17:12:25 +00:00
|
|
|
|
2020-01-14 12:11:51 +00:00
|
|
|
Component "conferenceduration.jitmeet.example.com" "conference_duration_component"
|
2020-01-13 17:12:25 +00:00
|
|
|
muc_component = "conference.jitmeet.example.com"
|
2020-05-27 23:01:41 +00:00
|
|
|
|
|
|
|
Component "lobby.jitmeet.example.com" "muc"
|
|
|
|
storage = "memory"
|
|
|
|
restrict_room_creation = true
|
|
|
|
muc_room_locking = false
|
|
|
|
muc_room_default_public_jids = true
|