jitsi-deployment/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua

47 lines
1.2 KiB
Lua
Raw Normal View History

admins = { "{{ .Env.JICOFO_AUTH_USER }}@{{ .Env.XMPP_AUTH_DOMAIN }}" }
2018-03-14 10:23:13 +01:00
VirtualHost "{{ .Env.XMPP_DOMAIN }}"
2018-10-17 23:02:10 +02:00
{{ if .Env.ENABLE_AUTH }}
authentication = "internal_plain"
{{ else }}
authentication = "anonymous"
{{ end }}
ssl = {
key = "/config/certs/{{ .Env.XMPP_DOMAIN }}.key";
certificate = "/config/certs/{{ .Env.XMPP_DOMAIN }}.crt";
}
modules_enabled = {
"bosh";
"pubsub";
"ping";
}
c2s_require_encryption = false
{{ if and .Env.ENABLE_AUTH .Env.ENABLE_GUESTS }}
VirtualHost "{{ .Env.XMPP_GUEST_DOMAIN }}"
authentication = "anonymous"
c2s_require_encryption = false
{{ end }}
2018-03-14 10:23:13 +01:00
VirtualHost "{{ .Env.XMPP_AUTH_DOMAIN }}"
2018-03-14 10:23:13 +01:00
ssl = {
key = "/config/certs/{{ .Env.XMPP_AUTH_DOMAIN }}.key";
certificate = "/config/certs/{{ .Env.XMPP_AUTH_DOMAIN }}.crt";
2018-03-14 10:23:13 +01:00
}
authentication = "internal_plain"
2018-10-16 21:15:46 +02:00
Component "{{ .Env.XMPP_INTERNAL_MUC_DOMAIN }}" "muc"
modules_enabled = {
"ping";
}
storage = "internal"
2018-10-16 21:15:46 +02:00
muc_room_cache_size = 1000
2018-03-14 10:23:13 +01:00
2018-10-16 21:15:46 +02:00
Component "{{ .Env.XMPP_MUC_DOMAIN }}" "muc"
storage = "internal"
2018-03-14 10:23:13 +01:00
Component "focus.{{ .Env.XMPP_DOMAIN }}"
component_secret = "{{ .Env.JICOFO_COMPONENT_SECRET }}"
2018-03-14 10:23:13 +01:00