Skip to content

Instantly share code, notes, and snippets.

@bhanu2217
Created April 1, 2020 01:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhanu2217/64c17854421e6cb7463ee3aafd79b84e to your computer and use it in GitHub Desktop.
Save bhanu2217/64c17854421e6cb7463ee3aafd79b84e to your computer and use it in GitHub Desktop.
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 = "ionameet.tk";
turncredentials_secret = "TURN_SECRET";
turncredentials = {
{ type = "stun", host = "ionameet.tk", port = "443" },
{ type = "turn", host = "ionameet.tk", port = "443", transport = "udp" },
{ type = "turns", host = "ionameet.tk", port = "443", transport = "tcp" }
};
cross_domain_bosh = false;
consider_bosh_secure = true;
VirtualHost "ionameet.tk"
-- enabled = false -- Remove this line to enable this host
authentication = "internal_plain"
-- Properties below are modified by jitsi-meet-tokens package config
-- and authentication above is switched to "token"
--app_id="example_app_id"
--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 will always
-- use the global one.
ssl = {
key = "/etc/prosody/certs/ionameet.tk.key";
certificate = "/etc/prosody/certs/ionameet.tk.crt";
}
speakerstats_component = "speakerstats.ionameet.tk"
conference_duration_component = "conferenceduration.ionameet.tk"
-- we need bosh
modules_enabled = {
"bosh";
"pubsub";
"ping"; -- Enable mod_ping
"speakerstats";
"turncredentials";
"conference_duration";
}
c2s_require_encryption = false
Component "conference.ionameet.tk" "muc"
storage = "none"
modules_enabled = {
"muc_meeting_id";
"muc_domain_mapper";
-- "token_verification";
}
admins = { "focus@auth.ionameet.tk" }
-- internal muc component
Component "internal.auth.ionameet.tk" "muc"
storage = "none"
modules_enabled = {
"ping";
}
admins = { "focus@auth.ionameet.tk", "jvb@auth.ionameet.tk" }
VirtualHost "auth.ionameet.tk"
ssl = {
key = "/etc/prosody/certs/auth.ionameet.tk.key";
certificate = "/etc/prosody/certs/auth.ionameet.tk.crt";
}
authentication = "internal_plain"
Component "focus.ionameet.tk"
component_secret = "JICOFO_SECRET"
Component "speakerstats.ionameet.tk" "speakerstats_component"
muc_component = "conference.ionameet.tk"
Component "conferenceduration.ionameet.tk" "conference_duration_component"
muc_component = "conference.ionameet.tk"
VirtualHost "guest.ionameet.tk"
authentication = "anonymous"
c2s_require_encryption = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment