You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

prosody.cfg.lua-jvb.example 2.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }
  2. -- domain mapper options, must at least have domain base set to use the mapper
  3. muc_mapper_domain_base = "jitmeet.example.com";
  4. turncredentials_secret = "__turnSecret__";
  5. turncredentials = {
  6. { type = "stun", host = "jitmeet.example.com", port = "4446" },
  7. { type = "turn", host = "jitmeet.example.com", port = "4446", transport = "udp" },
  8. { type = "turns", host = "jitmeet.example.com", port = "443", transport = "tcp" }
  9. };
  10. cross_domain_bosh = false;
  11. consider_bosh_secure = true;
  12. -- https_ports = { }; -- Remove this line to prevent listening on port 5284
  13. VirtualHost "jitmeet.example.com"
  14. -- enabled = false -- Remove this line to enable this host
  15. authentication = "anonymous"
  16. -- Properties below are modified by jitsi-meet-tokens package config
  17. -- and authentication above is switched to "token"
  18. --app_id="example_app_id"
  19. --app_secret="example_app_secret"
  20. -- Assign this host a certificate for TLS, otherwise it would use the one
  21. -- set in the global section (if any).
  22. -- Note that old-style SSL on port 5223 only supports one certificate, and will always
  23. -- use the global one.
  24. ssl = {
  25. key = "/etc/prosody/certs/jitmeet.example.com.key";
  26. certificate = "/etc/prosody/certs/jitmeet.example.com.crt";
  27. }
  28. speakerstats_component = "speakerstats.jitmeet.example.com"
  29. conference_duration_component = "conferenceduration.jitmeet.example.com"
  30. -- we need bosh
  31. modules_enabled = {
  32. "bosh";
  33. "pubsub";
  34. "ping"; -- Enable mod_ping
  35. "speakerstats";
  36. "turncredentials";
  37. "conference_duration";
  38. }
  39. c2s_require_encryption = false
  40. Component "conference.jitmeet.example.com" "muc"
  41. storage = "memory"
  42. modules_enabled = {
  43. "muc_meeting_id";
  44. "muc_domain_mapper";
  45. -- "token_verification";
  46. }
  47. admins = { "focusUser@auth.jitmeet.example.com" }
  48. muc_room_locking = false
  49. muc_room_default_public_jids = true
  50. -- internal muc component
  51. Component "internal.auth.jitmeet.example.com" "muc"
  52. storage = "memory"
  53. modules_enabled = {
  54. "ping";
  55. }
  56. admins = { "focusUser@auth.jitmeet.example.com", "jvb@auth.jitmeet.example.com" }
  57. muc_room_locking = false
  58. muc_room_default_public_jids = true
  59. VirtualHost "auth.jitmeet.example.com"
  60. authentication = "internal_plain"
  61. Component "focus.jitmeet.example.com"
  62. component_secret = "focusSecret"
  63. Component "speakerstats.jitmeet.example.com" "speakerstats_component"
  64. muc_component = "conference.jitmeet.example.com"
  65. Component "conferenceduration.jitmeet.example.com" "conference_duration_component"
  66. muc_component = "conference.jitmeet.example.com"