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.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. VirtualHost "jitmeet.example.com"
  13. -- enabled = false -- Remove this line to enable this host
  14. authentication = "anonymous"
  15. -- Properties below are modified by jitsi-meet-tokens package config
  16. -- and authentication above is switched to "token"
  17. --app_id="example_app_id"
  18. --app_secret="example_app_secret"
  19. -- Assign this host a certificate for TLS, otherwise it would use the one
  20. -- set in the global section (if any).
  21. -- Note that old-style SSL on port 5223 only supports one certificate, and will always
  22. -- use the global one.
  23. ssl = {
  24. key = "/etc/prosody/certs/jitmeet.example.com.key";
  25. certificate = "/etc/prosody/certs/jitmeet.example.com.crt";
  26. }
  27. speakerstats_component = "speakerstats.jitmeet.example.com"
  28. conference_duration_component = "conferenceduration.jitmeet.example.com"
  29. -- we need bosh
  30. modules_enabled = {
  31. "bosh";
  32. "pubsub";
  33. "ping"; -- Enable mod_ping
  34. "speakerstats";
  35. "turncredentials";
  36. "conference_duration";
  37. }
  38. c2s_require_encryption = false
  39. Component "conference.jitmeet.example.com" "muc"
  40. storage = "memory"
  41. modules_enabled = {
  42. "muc_meeting_id";
  43. "muc_domain_mapper";
  44. -- "token_verification";
  45. }
  46. admins = { "focusUser@auth.jitmeet.example.com" }
  47. muc_room_locking = false
  48. muc_room_default_public_jids = true
  49. -- internal muc component
  50. Component "internal.auth.jitmeet.example.com" "muc"
  51. storage = "memory"
  52. modules_enabled = {
  53. "ping";
  54. }
  55. admins = { "focusUser@auth.jitmeet.example.com", "jvb@auth.jitmeet.example.com" }
  56. muc_room_locking = false
  57. muc_room_default_public_jids = true
  58. VirtualHost "auth.jitmeet.example.com"
  59. authentication = "internal_plain"
  60. Component "focus.jitmeet.example.com"
  61. component_secret = "focusSecret"
  62. Component "speakerstats.jitmeet.example.com" "speakerstats_component"
  63. muc_component = "conference.jitmeet.example.com"
  64. Component "conferenceduration.jitmeet.example.com" "conference_duration_component"
  65. muc_component = "conference.jitmeet.example.com"