diff --git a/roles/prosody/templates/prosody.cfg.lua.j2 b/roles/prosody/templates/prosody.cfg.lua.j2 index aa6f38ecfa68f0c7b51d53cac85654fff30ee8c5..f5851d37f5eeef538e4cd9e0edd372b42d9d2e5f 100644 --- a/roles/prosody/templates/prosody.cfg.lua.j2 +++ b/roles/prosody/templates/prosody.cfg.lua.j2 @@ -69,18 +69,17 @@ storage = "internal" -- Logging configuration. log = { - debug = "/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for verbose logging + info = "/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for verbose logging error = "/var/log/prosody/prosody.err"; "*syslog"; } --- Domains which should be handled by Prosody. +-- Domains which should be handled by Prosody, with dedicated MUC and file +-- proxying components. {% for domain in prosody_domains -%} VirtualHost "{{ domain }}" +Component "conference.{{ domain }}" "muc" + restrict_room_creation = "local" +Component "proxy.{{ domain }}" "proxy65" + proxy65_acl = { "{{ domain }}" } {% endfor -%} - --- Support for multi-user chats. -Component "{{ prosody_conference_fqdn }}" "muc" - --- Support for server-proxied file transfers. -Component "{{ prosody_proxy_fqdn }}" "proxy65"