Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

prosody.cfg.lua-jvb.example 3.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. av_moderation_component = "avmoderation.jitmeet.example.com"
  34. speakerstats_component = "speakerstats.jitmeet.example.com"
  35. conference_duration_component = "conferenceduration.jitmeet.example.com"
  36. -- we need bosh
  37. modules_enabled = {
  38. "bosh";
  39. "pubsub";
  40. "ping"; -- Enable mod_ping
  41. "speakerstats";
  42. "external_services";
  43. "conference_duration";
  44. "muc_lobby_rooms";
  45. "av_moderation";
  46. }
  47. c2s_require_encryption = false
  48. lobby_muc = "lobby.jitmeet.example.com"
  49. main_muc = "conference.jitmeet.example.com"
  50. -- muc_lobby_whitelist = { "recorder.jitmeet.example.com" } -- Here we can whitelist jibri to enter lobby enabled rooms
  51. Component "conference.jitmeet.example.com" "muc"
  52. storage = "memory"
  53. modules_enabled = {
  54. "muc_meeting_id";
  55. "muc_domain_mapper";
  56. --"token_verification";
  57. }
  58. admins = { "focusUser@auth.jitmeet.example.com" }
  59. muc_room_locking = false
  60. muc_room_default_public_jids = true
  61. -- internal muc component
  62. Component "internal.auth.jitmeet.example.com" "muc"
  63. storage = "memory"
  64. modules_enabled = {
  65. "ping";
  66. }
  67. admins = { "focusUser@auth.jitmeet.example.com", "jvb@auth.jitmeet.example.com" }
  68. muc_room_locking = false
  69. muc_room_default_public_jids = true
  70. VirtualHost "auth.jitmeet.example.com"
  71. authentication = "internal_hashed"
  72. -- Proxy to jicofo's user JID, so that it doesn't have to register as a component.
  73. Component "focus.jitmeet.example.com" "client_proxy"
  74. target_address = "focusUser@auth.jitmeet.example.com"
  75. Component "speakerstats.jitmeet.example.com" "speakerstats_component"
  76. muc_component = "conference.jitmeet.example.com"
  77. Component "conferenceduration.jitmeet.example.com" "conference_duration_component"
  78. muc_component = "conference.jitmeet.example.com"
  79. Component "avmoderation.jitmeet.example.com" "av_moderation_component"
  80. muc_component = "conference.jitmeet.example.com"
  81. Component "lobby.jitmeet.example.com" "muc"
  82. storage = "memory"
  83. restrict_room_creation = true
  84. muc_room_locking = false
  85. muc_room_default_public_jids = true