Advertisement
Guest User

Untitled

a guest
Nov 16th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. -- Plugins path gets uncommented during jitsi-meet-tokens package install - that's where token plugin is located
  2. --plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }
  3.  
  4. VirtualHost "mydomain.xyz"
  5. -- enabled = false -- Remove this line to enable this host
  6. authentication = "internal_plain"
  7. -- Properties below are modified by jitsi-meet-tokens package config
  8. -- and authentication above is switched to "token"
  9. --app_id="example_app_id"
  10. --app_secret="example_app_secret"
  11. -- Assign this host a certificate for TLS, otherwise it would use the one
  12. -- set in the global section (if any).
  13. -- Note that old-style SSL on port 5223 only supports one certificate, and will always
  14. -- use the global one.
  15. ssl = {
  16. key = "/etc/prosody/certs/mydomain.xyz.key";
  17. certificate = "/etc/prosody/certs/mydomain.xyz.crt";
  18. }
  19. -- we need bosh
  20. modules_enabled = {
  21. "bosh";
  22. "pubsub";
  23. "ping"; -- Enable mod_ping
  24. "turncredentials";
  25. }
  26.  
  27. c2s_require_encryption = false
  28.  
  29. Component "conference.mydomain.xyz" "muc"
  30. storage = "none"
  31. --modules_enabled = { "token_verification" }
  32. admins = { "focus@auth.mydomain.xyz" }
  33.  
  34. Component "jitsi-videobridge.mydomain.xyz"
  35. component_secret = "66vcMbQ3"
  36.  
  37. VirtualHost "auth.mydomain.xyz"
  38. ssl = {
  39. key = "/etc/prosody/certs/auth.mydomain.xyz.key";
  40. certificate = "/etc/prosody/certs/auth.mydomain.xyz.crt";
  41. }
  42. authentication = "internal_plain"
  43.  
  44. Component "focus.mydomain.xyz"
  45. component_secret = "BHYYl71W"
  46.  
  47. VirtualHost "guest.mydomain.xyz"
  48. authentication = "anonymous"
  49. c2s_require_encryption = false
  50.  
  51. turncredentials_secret = "secret";
  52. turncredentials_port = 443;
  53. turncredentials_ttl = 86400;
  54. turncredentials = {
  55. { type = "stun", host = "turn.mydomain.xyz" },
  56. { type = "turn", host = "turn.mydomain.xyz", port = 443},
  57. { type = "turns", host = "turn.mydomain.xyz", port = 443, transport = "tcp" }
  58. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement