Comparison

prosody.cfg.lua.dist @ 12322:b1cb236c4478

prosody.cfg.lua.dist: Add new modules mod_admin_shell enabled by default because it's awesome! mod_smacks and mod_bookmarks under recommended since they're recommended by the compliance suite XEP-0459 Invites under nice to have and enabled by default to enable a somewhat nice out of the box experience Other new modules mostly under Other mod_external_services left out since it's an advanced thing
author Kim Alvefur <zash@zash.se>
date Thu, 10 Feb 2022 18:02:59 +0100
parent 12321:398c5f5db934
child 12323:d14b213549cf
comparison
equal deleted inserted replaced
12321:398c5f5db934 12322:b1cb236c4478
54 "private"; -- Private XML storage (for room bookmarks, etc.) 54 "private"; -- Private XML storage (for room bookmarks, etc.)
55 "blocklist"; -- Allow users to block communications with other users 55 "blocklist"; -- Allow users to block communications with other users
56 "vcard4"; -- User profiles (stored in PEP) 56 "vcard4"; -- User profiles (stored in PEP)
57 "vcard_legacy"; -- Conversion between legacy vCard and PEP Avatar, vcard 57 "vcard_legacy"; -- Conversion between legacy vCard and PEP Avatar, vcard
58 "limits"; -- Enable bandwidth limiting for XMPP connections 58 "limits"; -- Enable bandwidth limiting for XMPP connections
59 "bookmarks"; -- Synchronise open rooms between clients
60 "smacks"; -- Stream management and resumption (XEP-0198)
59 61
60 -- Nice to have 62 -- Nice to have
61 "version"; -- Replies to server version requests 63 "version"; -- Replies to server version requests
62 "uptime"; -- Report how long server has been running 64 "uptime"; -- Report how long server has been running
63 "time"; -- Let others know the time here on this server 65 "time"; -- Let others know the time here on this server
64 "ping"; -- Replies to XMPP pings with pongs 66 "ping"; -- Replies to XMPP pings with pongs
65 "register"; -- Allow users to register on this server using a client and change passwords 67 "register"; -- Allow users to register on this server using a client and change passwords
68 "invites"; -- Create and manage invites
69 "invites_register"; -- Create accounts using invites
70 "invites_adhoc"; -- Create invites via AdHoc command
66 --"mam"; -- Store messages in an archive and allow users to access it 71 --"mam"; -- Store messages in an archive and allow users to access it
67 --"csi_simple"; -- Simple Mobile optimizations 72 --"csi_simple"; -- Simple Mobile optimizations
73 --"turn_external"; -- Provide external TURN (and STUN) service
68 74
69 -- Admin interfaces 75 -- Admin interfaces
70 "admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands 76 "admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
71 --"admin_telnet"; -- Opens telnet console interface on localhost port 5582 77 --"admin_telnet"; -- Opens telnet console interface on localhost port 5582
78 "admin_shell"; -- Allow secure administration via an UNIX socket
72 79
73 -- HTTP modules 80 -- HTTP modules
74 --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP" 81 --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
75 --"websocket"; -- XMPP over WebSockets 82 --"websocket"; -- XMPP over WebSockets
76 --"http_files"; -- Serve static files from a directory over HTTP 83 --"http_files"; -- Serve static files from a directory over HTTP
84 --"http_openmetrics"; -- for exposing metrics to stats collectors
77 85
78 -- Other specific functionality 86 -- Other specific functionality
79 --"groups"; -- Shared roster support 87 --"groups"; -- Shared roster support
80 --"server_contact_info"; -- Publish contact information for this service 88 --"server_contact_info"; -- Publish contact information for this service
81 --"announce"; -- Send announcement to all online users 89 --"announce"; -- Send announcement to all online users
82 --"welcome"; -- Welcome users who register accounts 90 --"welcome"; -- Welcome users who register accounts
83 --"watchregistrations"; -- Alert admins of registrations 91 --"watchregistrations"; -- Alert admins of registrations
84 --"motd"; -- Send a message to users when they log in 92 --"motd"; -- Send a message to users when they log in
85 --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots. 93 --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
86 --"proxy65"; -- Enables a file transfer proxy service which clients behind NAT can use 94 --"proxy65"; -- Enables a file transfer proxy service which clients behind NAT can use
95 --"mimicking"; -- Prevent address spoofing
96 --"tombstones"; -- Prevent registration of deleted accounts
97 --"s2s_bidi"; -- Bi-directional server-to-server (XEP-0288)
87 } 98 }
88 99
89 -- These modules are auto-loaded, but should you want 100 -- These modules are auto-loaded, but should you want
90 -- to disable them then uncomment them here: 101 -- to disable them then uncomment them here:
91 modules_disabled = { 102 modules_disabled = {
211 ---Set up a MUC (multi-user chat) room server on conference.example.com: 222 ---Set up a MUC (multi-user chat) room server on conference.example.com:
212 --Component "conference.example.com" "muc" 223 --Component "conference.example.com" "muc"
213 --- Store MUC messages in an archive and allow users to access it 224 --- Store MUC messages in an archive and allow users to access it
214 --modules_enabled = { "muc_mam" } 225 --modules_enabled = { "muc_mam" }
215 226
227 ---Set up a file sharing component
228 --Component "share.example.com" "http_file_share"
229
216 ---Set up an external component (default component port is 5347) 230 ---Set up an external component (default component port is 5347)
217 -- 231 --
218 -- External components allow adding various services, such as gateways/ 232 -- External components allow adding various services, such as gateways/
219 -- transports to other networks like ICQ, MSN and Yahoo. For more info 233 -- transports to other networks like ICQ, MSN and Yahoo. For more info
220 -- see: https://prosody.im/doc/components#adding_an_external_component 234 -- see: https://prosody.im/doc/components#adding_an_external_component