Advertisement
Guest User

cfg.lua

a guest
Feb 10th, 2021
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.66 KB | None | 0 0
  1. plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }
  2.  
  3. -- domain mapper options, must at least have domain base set to use the mapper
  4. muc_mapper_domain_base = "my.site.com";
  5.  
  6. turncredentials_secret = "fcrxu4C29DXYj9DK";
  7.  
  8. turncredentials = {
  9.     { type = "stun", host = "my.site.com", port = "3478" },
  10.     { type = "turn", host = "my.site.com", port = "3478", transport = "udp" },
  11.     { type = "turns", host = "my.site.com", port = "5349", transport = "tcp" }
  12. };
  13.  
  14. cross_domain_bosh = false;
  15. consider_bosh_secure = true;
  16. -- https_ports = { }; -- Remove this line to prevent listening on port 5284
  17.  
  18. -- https://ssl-config.mozilla.org/#server=haproxy&version=2.1&config=intermediate&openssl=1.1.0g&guideline=5.4
  19. ssl = {
  20.     protocol = "tlsv1_2+";
  21.     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"
  22. }
  23.  
  24. VirtualHost "my.site.com"
  25.     -- enabled = false -- Remove this line to enable this host
  26.     authentication = "internal_hashed"
  27.     -- Properties below are modified by jitsi-meet-tokens package config
  28.     -- and authentication above is switched to "token"
  29.     --app_id="example_app_id"
  30.     --app_secret="example_app_secret"
  31.     -- Assign this host a certificate for TLS, otherwise it would use the one
  32.     -- set in the global section (if any).
  33.     -- Note that old-style SSL on port 5223 only supports one certificate, and will always
  34.     -- use the global one.
  35.     ssl = {
  36.         key = "/etc/prosody/certs/my.site.com.key";
  37.         certificate = "/etc/prosody/certs/my.site.com.crt";
  38.     }
  39.     speakerstats_component = "speakerstats.my.site.com"
  40.     conference_duration_component = "conferenceduration.my.site.com"
  41.     -- we need bosh
  42.     modules_enabled = {
  43.         "bosh";
  44.         "pubsub";
  45.         "ping"; -- Enable mod_ping
  46.         "speakerstats";
  47.         "turncredentials";
  48.         "conference_duration";
  49.         "muc_lobby_rooms";
  50.     }
  51.     c2s_require_encryption = false
  52.     lobby_muc = "lobby.my.site.com"
  53.     main_muc = "conference.my.site.com"
  54.     -- muc_lobby_whitelist = { "recorder.my.site.com" } -- Here we can whitelist jibri to enter lobby enabled rooms
  55.  
  56. VirtualHost "guest.my.site.com"
  57.     authentication = "anonymous"
  58.     c2s_require_encryption = false
  59.  
  60. Component "conference.my.site.com" "muc"
  61.     -- enabled = false
  62.     storage = "memory"
  63.     modules_enabled = {
  64.         "muc_meeting_id";
  65.         "muc_domain_mapper";
  66.         --"token_verification";
  67.     }
  68.     admins = { "focus@auth.my.site.com" }
  69.     muc_room_locking = false
  70.     muc_room_default_public_jids = true
  71.  
  72. -- internal muc component
  73. Component "internal.auth.my.site.com" "muc"
  74.     storage = "memory"
  75.     modules_enabled = {
  76.         "ping";
  77.     }
  78.     admins = { "focus@auth.my.site.com", "jvb@auth.my.site.com" }
  79.     muc_room_locking = false
  80.     muc_room_default_public_jids = true
  81.  
  82. VirtualHost "auth.my.site.com"
  83.     -- enabled = false
  84.     ssl = {
  85.         key = "/etc/prosody/certs/auth.my.site.com.key";
  86.         certificate = "/etc/prosody/certs/auth.my.site.com.crt";
  87.     }
  88.     authentication = "internal_plain"
  89.  
  90. Component "focus.my.site.com"
  91.     component_secret = "mv5i7HHx"
  92.  
  93. Component "speakerstats.my.site.com" "speakerstats_component"
  94.     muc_component = "conference.my.site.com"
  95.  
  96. Component "conferenceduration.my.site.com" "conference_duration_component"
  97.     muc_component = "conference.my.site.com"
  98.  
  99. Component "lobby.my.site.com" "muc"
  100.     storage = "memory"
  101.     restrict_room_creation = true
  102.     muc_room_locking = false
  103.     muc_room_default_public_jids = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement