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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. unlimited_jids = {
  19. "focusUser@auth.jitmeet.example.com",
  20. "jvb@auth.jitmeet.example.com"
  21. }
  22. VirtualHost "jitmeet.example.com"
  23. -- enabled = false -- Remove this line to enable this host
  24. authentication = "anonymous"
  25. -- Properties below are modified by jitsi-meet-tokens package config
  26. -- and authentication above is switched to "token"
  27. --app_id="example_app_id"
  28. --app_secret="example_app_secret"
  29. -- Assign this host a certificate for TLS, otherwise it would use the one
  30. -- set in the global section (if any).
  31. -- Note that old-style SSL on port 5223 only supports one certificate, and will always
  32. -- use the global one.
  33. ssl = {
  34. key = "/etc/prosody/certs/jitmeet.example.com.key";
  35. certificate = "/etc/prosody/certs/jitmeet.example.com.crt";
  36. }
  37. av_moderation_component = "avmoderation.jitmeet.example.com"
  38. speakerstats_component = "speakerstats.jitmeet.example.com"
  39. conference_duration_component = "conferenceduration.jitmeet.example.com"
  40. -- we need bosh
  41. modules_enabled = {
  42. "bosh";
  43. "pubsub";
  44. "ping"; -- Enable mod_ping
  45. "speakerstats";
  46. "external_services";
  47. "conference_duration";
  48. "muc_lobby_rooms";
  49. "av_moderation";
  50. }
  51. c2s_require_encryption = false
  52. lobby_muc = "lobby.jitmeet.example.com"
  53. main_muc = "conference.jitmeet.example.com"
  54. -- muc_lobby_whitelist = { "recorder.jitmeet.example.com" } -- Here we can whitelist jibri to enter lobby enabled rooms
  55. Component "conference.jitmeet.example.com" "muc"
  56. restrict_room_creation = true
  57. storage = "memory"
  58. modules_enabled = {
  59. "muc_meeting_id";
  60. "muc_domain_mapper";
  61. "polls";
  62. --"token_verification";
  63. "muc_rate_limit";
  64. }
  65. admins = { "focusUser@auth.jitmeet.example.com" }
  66. muc_room_locking = false
  67. muc_room_default_public_jids = true
  68. -- internal muc component
  69. Component "internal.auth.jitmeet.example.com" "muc"
  70. storage = "memory"
  71. modules_enabled = {
  72. "ping";
  73. }
  74. admins = { "focusUser@auth.jitmeet.example.com", "jvb@auth.jitmeet.example.com" }
  75. muc_room_locking = false
  76. muc_room_default_public_jids = true
  77. VirtualHost "auth.jitmeet.example.com"
  78. modules_enabled = {
  79. "limits_exception";
  80. }
  81. authentication = "internal_hashed"
  82. -- Proxy to jicofo's user JID, so that it doesn't have to register as a component.
  83. Component "focus.jitmeet.example.com" "client_proxy"
  84. target_address = "focusUser@auth.jitmeet.example.com"
  85. Component "speakerstats.jitmeet.example.com" "speakerstats_component"
  86. muc_component = "conference.jitmeet.example.com"
  87. Component "conferenceduration.jitmeet.example.com" "conference_duration_component"
  88. muc_component = "conference.jitmeet.example.com"
  89. Component "avmoderation.jitmeet.example.com" "av_moderation_component"
  90. muc_component = "conference.jitmeet.example.com"
  91. Component "lobby.jitmeet.example.com" "muc"
  92. storage = "memory"
  93. restrict_room_creation = true
  94. muc_room_locking = false
  95. muc_room_default_public_jids = true