|
|
|
@ -33,7 +33,7 @@ VirtualHost "{{ .Env.XMPP_DOMAIN }}" |
|
|
|
|
cyrus_application_name = "xmpp" |
|
|
|
|
allow_unencrypted_plain_auth = true |
|
|
|
|
{{ else if eq $AUTH_TYPE "internal" }} |
|
|
|
|
authentication = "internal_hashed" |
|
|
|
|
authentication = "internal_plain" |
|
|
|
|
{{ end }} |
|
|
|
|
{{ else }} |
|
|
|
|
authentication = "anonymous" |
|
|
|
@ -67,14 +67,14 @@ VirtualHost "{{ .Env.XMPP_AUTH_DOMAIN }}" |
|
|
|
|
key = "/config/certs/{{ .Env.XMPP_AUTH_DOMAIN }}.key"; |
|
|
|
|
certificate = "/config/certs/{{ .Env.XMPP_AUTH_DOMAIN }}.crt"; |
|
|
|
|
} |
|
|
|
|
authentication = "internal_hashed" |
|
|
|
|
authentication = "internal_plain" |
|
|
|
|
|
|
|
|
|
{{ if .Env.XMPP_RECORDER_DOMAIN }} |
|
|
|
|
VirtualHost "{{ .Env.XMPP_RECORDER_DOMAIN }}" |
|
|
|
|
modules_enabled = { |
|
|
|
|
"ping"; |
|
|
|
|
} |
|
|
|
|
authentication = "internal_hashed" |
|
|
|
|
authentication = "internal_plain" |
|
|
|
|
{{ end }} |
|
|
|
|
|
|
|
|
|
Component "{{ .Env.XMPP_INTERNAL_MUC_DOMAIN }}" "muc" |
|
|
|
|