Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

prosody.cfg.lua-jvb.example 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. external_service_secret = "__turnSecret__";
  5. external_services = {
  6. { type = "stun", host = "jitmeet.example.com", port = 3478 },
  7. { type = "turn", host = "jitmeet.example.com", port = 3478, transport = "udp", secret = true, ttl = 86400, algorithm = "turn" },
  8. { type = "turns", host = "jitmeet.example.com", port = 5349, transport = "tcp", secret = true, ttl = 86400, algorithm = "turn" }
  9. };
  10. cross_domain_bosh = false;
  11. consider_bosh_secure = true;
  12. -- https_ports = { }; -- Remove this line to prevent listening on port 5284
  13. -- https://ssl-config.mozilla.org/#server=haproxy&version=2.1&config=intermediate&openssl=1.1.0g&guideline=5.4
  14. ssl = {
  15. protocol = "tlsv1_2+";
  16. 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"
  17. }
  18. VirtualHost "jitmeet.example.com"
  19. -- enabled = false -- Remove this line to enable this host
  20. authentication = "anonymous"
  21. -- Properties below are modified by jitsi-meet-tokens package config
  22. -- and authentication above is switched to "token"
  23. --app_id="example_app_id"
  24. --app_secret="example_app_secret"
  25. -- Assign this host a certificate for TLS, otherwise it would use the one
  26. -- set in the global section (if any).
  27. -- Note that old-style SSL on port 5223 only supports one certificate, and will always
  28. -- use the global one.
  29. ssl = {
  30. key = "/etc/prosody/certs/jitmeet.example.com.key";
  31. certificate = "/etc/prosody/certs/jitmeet.example.com.crt";
  32. }
  33. speakerstats_component = "speakerstats.jitmeet.example.com"
  34. conference_duration_component = "conferenceduration.jitmeet.example.com"
  35. -- we need bosh
  36. modules_enabled = {
  37. "bosh";
  38. "pubsub";
  39. "ping"; -- Enable mod_ping
  40. "speakerstats";
  41. "external_services";
  42. "conference_duration";
  43. "muc_lobby_rooms";
  44. }
  45. c2s_require_encryption = false
  46. lobby_muc = "lobby.jitmeet.example.com"
  47. main_muc = "conference.jitmeet.example.com"
  48. -- muc_lobby_whitelist = { "recorder.jitmeet.example.com" } -- Here we can whitelist jibri to enter lobby enabled rooms
  49. Component "conference.jitmeet.example.com" "muc"
  50. storage = "memory"
  51. modules_enabled = {
  52. "muc_meeting_id";
  53. "muc_domain_mapper";
  54. --"token_verification";
  55. }
  56. admins = { "focusUser@auth.jitmeet.example.com" }
  57. muc_room_locking = false
  58. muc_room_default_public_jids = true
  59. -- internal muc component
  60. Component "internal.auth.jitmeet.example.com" "muc"
  61. storage = "memory"
  62. modules_enabled = {
  63. "ping";
  64. }
  65. admins = { "focusUser@auth.jitmeet.example.com", "jvb@auth.jitmeet.example.com" }
  66. muc_room_locking = false
  67. muc_room_default_public_jids = true
  68. VirtualHost "auth.jitmeet.example.com"
  69. authentication = "internal_plain"
  70. -- Proxy to jicofo's user JID, so that it doesn't have to register as a component.
  71. Component "focus.jitmeet.example.com" "client_proxy"
  72. target_address = "focusUser@auth.jitmeet.example.com"
  73. Component "speakerstats.jitmeet.example.com" "speakerstats_component"
  74. muc_component = "conference.jitmeet.example.com"
  75. Component "conferenceduration.jitmeet.example.com" "conference_duration_component"
  76. muc_component = "conference.jitmeet.example.com"
  77. Component "lobby.jitmeet.example.com" "muc"
  78. storage = "memory"
  79. restrict_room_creation = true
  80. muc_room_locking = false
  81. muc_room_default_public_jids = true