jitsi-meet.cfg.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. admins = { "{{ .Env.JICOFO_AUTH_USER }}@{{ .Env.XMPP_AUTH_DOMAIN }}" }
  2. VirtualHost "{{ .Env.XMPP_DOMAIN }}"
  3. {{ if .Env.ENABLE_AUTH }}
  4. authentication = "internal_plain"
  5. {{ else }}
  6. authentication = "anonymous"
  7. {{ end }}
  8. ssl = {
  9. key = "/config/certs/{{ .Env.XMPP_DOMAIN }}.key";
  10. certificate = "/config/certs/{{ .Env.XMPP_DOMAIN }}.crt";
  11. }
  12. modules_enabled = {
  13. "bosh";
  14. "pubsub";
  15. "ping";
  16. }
  17. c2s_require_encryption = false
  18. {{ if and .Env.ENABLE_AUTH .Env.ENABLE_GUESTS }}
  19. VirtualHost "{{ .Env.XMPP_GUEST_DOMAIN }}"
  20. authentication = "anonymous"
  21. c2s_require_encryption = false
  22. {{ end }}
  23. VirtualHost "{{ .Env.XMPP_AUTH_DOMAIN }}"
  24. ssl = {
  25. key = "/config/certs/{{ .Env.XMPP_AUTH_DOMAIN }}.key";
  26. certificate = "/config/certs/{{ .Env.XMPP_AUTH_DOMAIN }}.crt";
  27. }
  28. authentication = "internal_plain"
  29. Component "{{ .Env.XMPP_INTERNAL_MUC_DOMAIN }}" "muc"
  30. modules_enabled = {
  31. "ping";
  32. }
  33. storage = "none"
  34. muc_room_cache_size = 1000
  35. Component "{{ .Env.XMPP_MUC_DOMAIN }}" "muc"
  36. storage = "none"
  37. Component "focus.{{ .Env.XMPP_DOMAIN }}"
  38. component_secret = "{{ .Env.JICOFO_COMPONENT_SECRET }}"