Changeset - df7ad64eec5c
[Not reviewed]
0 1 0
Branko Majic (branko) - 9 years ago 2015-03-08 11:23:40
branko@majic.rs
MAR-3: Replace tabs with spaces in Prosody configuration file.
1 file changed with 30 insertions and 31 deletions:
0 comments (0 inline, 0 general)
roles/prosody/templates/prosody.cfg.lua.j2
Show inline comments
 
@@ -7,31 +7,31 @@ admins = { {% for admin in prosody_administrators %}"{{ admin }}", {% endfor %}
 
-- List of modules to load on startup.
 
modules_enabled = {
 

	
 
	-- Generally required
 
		"roster"; -- Allow users to have a roster. Recommended ;)
 
		"saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.
 
		"tls"; -- Add support for secure TLS on c2s/s2s connections
 
		"dialback"; -- s2s dialback support
 
		"disco"; -- Service discovery
 
		"posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
 

	
 
	-- Not essential, but recommended
 
		"private"; -- Private XML storage (for room bookmarks, etc.)
 
		"vcard"; -- Allow users to set vCards
 

	
 
	-- Nice to have
 
		"version"; -- Replies to server version requests
 
		"uptime"; -- Report how long server has been running
 
		"time"; -- Let others know the time here on this server
 
		"ping"; -- Replies to XMPP pings with pongs
 
		"pep"; -- Enables users to publish their mood, activity, playing music and more
 
		"register"; -- Allow users to register on this server using a client and change passwords
 

	
 
	-- Admin interfaces
 
		"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
 

	
 
	-- Other specific functionality
 
		"announce"; -- Send announcement to all online users
 
  -- Generally required
 
    "roster"; -- Allow users to have a roster. Recommended ;)
 
    "saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.
 
    "tls"; -- Add support for secure TLS on c2s/s2s connections
 
    "dialback"; -- s2s dialback support
 
    "disco"; -- Service discovery
 
    "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
 

	
 
  -- Not essential, but recommended
 
    "private"; -- Private XML storage (for room bookmarks, etc.)
 
    "vcard"; -- Allow users to set vCards
 

	
 
  -- Nice to have
 
    "version"; -- Replies to server version requests
 
    "uptime"; -- Report how long server has been running
 
    "time"; -- Let others know the time here on this server
 
    "ping"; -- Replies to XMPP pings with pongs
 
    "pep"; -- Enables users to publish their mood, activity, playing music and more
 
    "register"; -- Allow users to register on this server using a client and change passwords
 

	
 
  -- Admin interfaces
 
    "admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
 

	
 
  -- Other specific functionality
 
    "announce"; -- Send announcement to all online users
 
};
 

	
 
-- Disable account creation by default, for security
 
@@ -41,8 +41,8 @@ allow_registration = false;
 
-- These are the SSL/TLS-related settings. If you don't want
 
-- to use SSL/TLS, you may comment or remove this
 
ssl = {
 
	key = "{{ prosody_tls_key }}";
 
	certificate = "{{ prosody_tls_certificate }}";
 
  key = "{{ prosody_tls_key }}";
 
  certificate = "{{ prosody_tls_certificate }}";
 
}
 

	
 
-- Force clients to use encrypted connection.
 
@@ -69,9 +69,9 @@ storage = "internal"
 

	
 
-- Logging configuration.
 
log = {
 
	debug = "/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for verbose logging
 
	error = "/var/log/prosody/prosody.err";
 
	"*syslog";
 
  debug = "/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.
 
@@ -84,4 +84,3 @@ Component "{{ prosody_conference_fqdn }}" "muc"
 

	
 
-- Support for server-proxied file transfers.
 
Component "{{ prosody_proxy_fqdn }}" "proxy65"
 

	
0 comments (0 inline, 0 general)