Software /
code /
prosody
Comparison
prosody.cfg.lua.dist @ 5624:187f734bc996
prosody.cfg.lua: Remove some more sneaky ';' characters from the config
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 24 May 2013 13:59:59 +0100 |
parent | 5623:5752391fa27d |
child | 5806:c914f4322581 |
comparison
equal
deleted
inserted
replaced
5623:5752391fa27d | 5624:187f734bc996 |
---|---|
22 -- Example: admins = { "user1@example.com", "user2@example.net" } | 22 -- Example: admins = { "user1@example.com", "user2@example.net" } |
23 admins = { } | 23 admins = { } |
24 | 24 |
25 -- Enable use of libevent for better performance under high load | 25 -- Enable use of libevent for better performance under high load |
26 -- For more information see: http://prosody.im/doc/libevent | 26 -- For more information see: http://prosody.im/doc/libevent |
27 --use_libevent = true; | 27 --use_libevent = true |
28 | 28 |
29 -- This is the list of modules Prosody will load on startup. | 29 -- This is the list of modules Prosody will load on startup. |
30 -- It looks for mod_modulename.lua in the plugins folder, so make sure that exists too. | 30 -- It looks for mod_modulename.lua in the plugins folder, so make sure that exists too. |
31 -- Documentation on modules can be found at: http://prosody.im/doc/modules | 31 -- Documentation on modules can be found at: http://prosody.im/doc/modules |
32 modules_enabled = { | 32 modules_enabled = { |
68 --"announce"; -- Send announcement to all online users | 68 --"announce"; -- Send announcement to all online users |
69 --"welcome"; -- Welcome users who register accounts | 69 --"welcome"; -- Welcome users who register accounts |
70 --"watchregistrations"; -- Alert admins of registrations | 70 --"watchregistrations"; -- Alert admins of registrations |
71 --"motd"; -- Send a message to users when they log in | 71 --"motd"; -- Send a message to users when they log in |
72 --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots. | 72 --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots. |
73 }; | 73 } |
74 | 74 |
75 -- These modules are auto-loaded, but should you want | 75 -- These modules are auto-loaded, but should you want |
76 -- to disable them then uncomment them here: | 76 -- to disable them then uncomment them here: |
77 modules_disabled = { | 77 modules_disabled = { |
78 -- "offline"; -- Store offline messages | 78 -- "offline"; -- Store offline messages |
80 -- "s2s"; -- Handle server-to-server connections | 80 -- "s2s"; -- Handle server-to-server connections |
81 } | 81 } |
82 | 82 |
83 -- Disable account creation by default, for security | 83 -- Disable account creation by default, for security |
84 -- For more information see http://prosody.im/doc/creating_accounts | 84 -- For more information see http://prosody.im/doc/creating_accounts |
85 allow_registration = false; | 85 allow_registration = false |
86 | 86 |
87 -- These are the SSL/TLS-related settings. If you don't want | 87 -- These are the SSL/TLS-related settings. If you don't want |
88 -- to use SSL/TLS, you may comment or remove this | 88 -- to use SSL/TLS, you may comment or remove this |
89 ssl = { | 89 ssl = { |
90 key = "certs/localhost.key"; | 90 key = "certs/localhost.key"; |