Changeset - c8875611c9ef
[Not reviewed]
0 2 0
Branko Majic (branko) - 10 years ago 2015-03-08 11:23:47
branko@majic.rs
MAR-3: Swtiched to INFO logging. Define conference and proxy components per-domain. Removed two redundant options.
2 files changed with 7 insertions and 12 deletions:
0 comments (0 inline, 0 general)
roles/prosody/templates/prosody.cfg.lua.j2
Show inline comments
 
@@ -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"
testsite/group_vars/xmpp.yml
Show inline comments
 
@@ -10,10 +10,6 @@ prosody_tls_certificate: /etc/prosody/certs/localhost.crt
 
prosody_domains:
 
  - example.com
 

	
 
prosody_conference_fqdn: conference.example.com
 

	
 
prosody_proxy_fqdn: proxy.example.com
 

	
 
prosody_ldap_server: ldap.example.com
 

	
 
prosody_ldap_bind_dn: cn=xmpp,ou=services,dc=example,dc=com
0 comments (0 inline, 0 general)