Advertisement
Guest User

prosody

a guest
Dec 14th, 2020
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.03 KB | None | 0 0
  1. plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }
  2.  
  3. -- domain mapper options, must at least have domain base set to use the mapper
  4. muc_mapper_domain_base = "e-konf.waw.xxxx.pl";
  5.  
  6. turncredentials_secret = "<TURNSECRET>";
  7.  
  8. turncredentials = {
  9. { type = "stun", host = "e-konf.waw.xxxx.pl", port = "3478" },
  10. { type = "turn", host = "e-konf.waw.xxxx.pl", port = "3478", transport = "udp" },
  11. { type = "turns", host = "e-konf.waw.xxxx.pl", port = "5349", transport = "tcp" }
  12. };
  13.  
  14. cross_domain_bosh = false;
  15. consider_bosh_secure = true;
  16. -- https_ports = { }; -- Remove this line to prevent listening on port 5284
  17.  
  18. -- https://ssl-config.mozilla.org/#server=haproxy&version=2.1&config=intermediate&openssl=1.1.0g&guideline=5.4
  19. ssl = {
  20. protocol = "tlsv1_2+";
  21. 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"
  22. }
  23.  
  24. VirtualHost "e-konf.waw.xxxx.pl"
  25. -- enabled = false -- Remove this line to enable this host
  26. authentication = "internal_hashed"
  27. -- Properties below are modified by jitsi-meet-tokens package config
  28. -- and authentication above is switched to "token"
  29. --app_id="example_app_id"
  30. --app_secret="example_app_secret"
  31. -- Assign this host a certificate for TLS, otherwise it would use the one
  32. -- set in the global section (if any).
  33. -- Note that old-style SSL on port 5223 only supports one certificate, and will always
  34. -- use the global one.
  35. ssl = {
  36. key = "/etc/prosody/certs/e-konf.waw.xxxx.pl.key";
  37. certificate = "/etc/prosody/certs/e-konf.waw.xxxx.pl.crt";
  38. }
  39. speakerstats_component = "speakerstats.e-konf.waw.xxxx.pl"
  40. conference_duration_component = "conferenceduration.e-konf.waw.xxxx.pl"
  41. -- we need bosh
  42. modules_enabled = {
  43. "bosh";
  44. "pubsub";
  45. "ping"; -- Enable mod_ping
  46. "speakerstats";
  47. "turncredentials";
  48. "conference_duration";
  49. "muc_lobby_rooms";
  50. }
  51. c2s_require_encryption = false
  52. lobby_muc = "lobby.e-konf.waw.xxxx.pl"
  53. main_muc = "conference.e-konf.waw.xxxx.pl"
  54. -- muc_lobby_whitelist = { "recorder.e-konf.waw.xxxx.pl" } -- Here we can whitelist jibri to enter lobby enabled rooms
  55.  
  56. Component "conference.e-konf.waw.xxxx.pl" "muc"
  57. storage = "none"
  58. modules_enabled = {
  59. "muc_meeting_id";
  60. "muc_domain_mapper";
  61. -- "token_verification";
  62. }
  63. admins = { "focus@auth.e-konf.waw.xxxxx.pl" }
  64. muc_room_locking = false
  65. muc_room_default_public_jids = true
  66.  
  67. -- internal muc component
  68. Component "internal.auth.e-konf.waw.xxxxx.pl" "muc"
  69. storage = "none"
  70. modules_enabled = {
  71. "ping";
  72. }
  73. admins = { "focus@auth.e-konf.waw.xxxx.pl", "jvb@auth.e-konf.waw.xxxxx.pl" }
  74. muc_room_locking = false
  75. muc_room_default_public_jids = true
  76.  
  77. VirtualHost "auth.e-konf.waw.xxxxx.pl"
  78. ssl = {
  79. key = "/etc/prosody/certs/auth.e-konf.waw.xxxxx.pl.key";
  80. certificate = "/etc/prosody/certs/auth.e-konf.waw.xxxx.pl.crt";
  81. }
  82. authentication = "internal_plain"
  83.  
  84. Component "focus.e-konf.waw.xxxxxx.pl"
  85. component_secret = "<SECRET>"
  86.  
  87. Component "speakerstats.e-konf.waw.xxxxx.pl" "speakerstats_component"
  88. muc_component = "conference.e-konf.waw.xxxxx.pl"
  89.  
  90. Component "conferenceduration.e-konf.waw.xxxx.pl" "conference_duration_component"
  91. muc_component = "conference.e-konf.waw.xxxx.pl"
  92.  
  93. VirtualHost "guest.e-konf.waw.xxxx.pl"
  94. authentication = "anonymous"
  95. modules_enabled = {
  96. "muc_lobby_rooms";
  97. }
  98. lobby_muc = "lobby.jitsi.waw.xxxxx.pl"
  99. main_muc = "conference.jitsi.waw.xxxx.pl"
  100.  
  101. Component "lobby.e-konf.waw.xxxx.pl" "muc"
  102. storage = "none"
  103. restrict_room_creation = true
  104. muc_room_locking = false
  105. muc_room_default_public_jids = true
  106.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement