Software /
code /
prosody
Comparison
prosody.cfg.lua.dist @ 912:62dd71870ee3
Update example config, categorise modules, add new modules
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 22 Mar 2009 15:23:26 +0000 |
parent | 911:39133bca5938 |
child | 1132:3a63efe285c2 |
comparison
equal
deleted
inserted
replaced
911:39133bca5938 | 912:62dd71870ee3 |
---|---|
34 Host "*" | 34 Host "*" |
35 | 35 |
36 -- This is the list of modules Prosody will load on startup. | 36 -- This is the list of modules Prosody will load on startup. |
37 -- It looks for mod_modulename.lua in the plugins folder, so make sure that exists too. | 37 -- It looks for mod_modulename.lua in the plugins folder, so make sure that exists too. |
38 modules_enabled = { | 38 modules_enabled = { |
39 -- Generally required | |
40 "roster"; -- Allow users to have a roster. Recommended ;) | |
39 "saslauth"; -- Authentication for clients and servers. Recommended if you want to log in. | 41 "saslauth"; -- Authentication for clients and servers. Recommended if you want to log in. |
40 "legacyauth"; -- Legacy authentication. Only used by some old clients and bots. | |
41 "roster"; -- Allow users to have a roster. Recommended ;) | |
42 "register"; -- Allow users to register on this server using a client | |
43 "tls"; -- Add support for secure TLS on c2s/s2s connections | 42 "tls"; -- Add support for secure TLS on c2s/s2s connections |
44 "vcard"; -- Allow users to set vCards | |
45 "private"; -- Private XML storage (for room bookmarks, etc.) | |
46 "version"; -- Replies to server version requests | |
47 "dialback"; -- s2s dialback support | 43 "dialback"; -- s2s dialback support |
48 "disco"; -- Service discovery | 44 "disco"; -- Service discovery |
49 "ping"; -- XMPP Ping | 45 |
50 "time"; -- Let others know the time here | 46 -- Not essential, but recommended |
51 "uptime"; -- Uptime reporting | 47 "private"; -- Private XML storage (for room bookmarks, etc.) |
52 "console"; -- telnet to port 5582 (needs console_enabled = true) | 48 "vcard"; -- Allow users to set vCards |
49 | |
50 -- Nice to have | |
51 "legacyauth"; -- Legacy authentication. Only used by some old clients and bots. | |
52 "version"; -- Replies to server version requests | |
53 "uptime"; -- Report how long server has been running | |
54 "time"; -- Let others know the time here on this server | |
55 "ping"; -- Replies to XMPP pings with pongs | |
56 | |
57 -- Other specific functionality | |
58 --"register"; -- Allow users to register on this server using a client | |
59 --"posix"; -- POSIX functionality, sends server to background, enables syslog, etc. | |
60 --"console"; -- telnet to port 5582 (needs console_enabled = true) | |
61 --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP" | |
62 --"httpserver"; -- Serve static files from a directory over HTTP | |
53 }; | 63 }; |
54 | 64 |
55 -- These are the SSL/TLS-related settings. If you don't want | 65 -- These are the SSL/TLS-related settings. If you don't want |
56 -- to use SSL/TLS, you may comment or remove this | 66 -- to use SSL/TLS, you may comment or remove this |
57 ssl = { | 67 ssl = { |
73 key = "certs/example.com.key"; | 83 key = "certs/example.com.key"; |
74 certificate = "certs/example.com.crt"; | 84 certificate = "certs/example.com.crt"; |
75 } | 85 } |
76 | 86 |
77 enabled = false -- This will disable the host, preserving the config, but denying connections | 87 enabled = false -- This will disable the host, preserving the config, but denying connections |
88 | |
89 -- Set up a MUC (multi-user chat) room server on conference.example.com: | |
90 Component "conference.example.com" "muc" |