Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

prosody.cfg.lua-jvb.example 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. --"token_verification";
  62. }
  63. admins = { "focusUser@auth.jitmeet.example.com" }
  64. muc_room_locking = false
  65. muc_room_default_public_jids = true
  66. -- internal muc component
  67. Component "internal.auth.jitmeet.example.com" "muc"
  68. storage = "memory"
  69. modules_enabled = {
  70. "ping";
  71. }
  72. admins = { "focusUser@auth.jitmeet.example.com", "jvb@auth.jitmeet.example.com" }
  73. muc_room_locking = false
  74. muc_room_default_public_jids = true
  75. VirtualHost "auth.jitmeet.example.com"
  76. modules_enabled = {
  77. "limits_exception";
  78. }
  79. authentication = "internal_hashed"
  80. -- Proxy to jicofo's user JID, so that it doesn't have to register as a component.
  81. Component "focus.jitmeet.example.com" "client_proxy"
  82. target_address = "focusUser@auth.jitmeet.example.com"
  83. Component "speakerstats.jitmeet.example.com" "speakerstats_component"
  84. muc_component = "conference.jitmeet.example.com"
  85. Component "conferenceduration.jitmeet.example.com" "conference_duration_component"
  86. muc_component = "conference.jitmeet.example.com"
  87. Component "avmoderation.jitmeet.example.com" "av_moderation_component"
  88. muc_component = "conference.jitmeet.example.com"
  89. Component "lobby.jitmeet.example.com" "muc"
  90. storage = "memory"
  91. restrict_room_creation = true
  92. muc_room_locking = false
  93. muc_room_default_public_jids = true