aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-02-10 18:02:59 +0100
committerKim Alvefur <zash@zash.se>2022-02-10 18:02:59 +0100
commit225e6d21e823b7199d41f58b8b661a298c78347a (patch)
treee8c7895f37799a266b6926600d0d038b39be5da3
parent02b2fe4d2be8f2aa90eb8491f4c330fd53ea7885 (diff)
downloadprosody-225e6d21e823b7199d41f58b8b661a298c78347a.tar.gz
prosody-225e6d21e823b7199d41f58b8b661a298c78347a.zip
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
-rw-r--r--prosody.cfg.lua.dist14
1 files changed, 14 insertions, 0 deletions
diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist
index ade77ff4..b1a1c323 100644
--- a/prosody.cfg.lua.dist
+++ b/prosody.cfg.lua.dist
@@ -56,6 +56,8 @@ modules_enabled = {
"vcard4"; -- User profiles (stored in PEP)
"vcard_legacy"; -- Conversion between legacy vCard and PEP Avatar, vcard
"limits"; -- Enable bandwidth limiting for XMPP connections
+ "bookmarks"; -- Synchronise open rooms between clients
+ "smacks"; -- Stream management and resumption (XEP-0198)
-- Nice to have
"version"; -- Replies to server version requests
@@ -63,17 +65,23 @@ modules_enabled = {
"time"; -- Let others know the time here on this server
"ping"; -- Replies to XMPP pings with pongs
"register"; -- Allow users to register on this server using a client and change passwords
+ "invites"; -- Create and manage invites
+ "invites_register"; -- Create accounts using invites
+ "invites_adhoc"; -- Create invites via AdHoc command
--"mam"; -- Store messages in an archive and allow users to access it
--"csi_simple"; -- Simple Mobile optimizations
+ --"turn_external"; -- Provide external TURN (and STUN) service
-- Admin interfaces
"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
--"admin_telnet"; -- Opens telnet console interface on localhost port 5582
+ "admin_shell"; -- Allow secure administration via an UNIX socket
-- HTTP modules
--"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
--"websocket"; -- XMPP over WebSockets
--"http_files"; -- Serve static files from a directory over HTTP
+ --"http_openmetrics"; -- for exposing metrics to stats collectors
-- Other specific functionality
--"groups"; -- Shared roster support
@@ -84,6 +92,9 @@ modules_enabled = {
--"motd"; -- Send a message to users when they log in
--"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
--"proxy65"; -- Enables a file transfer proxy service which clients behind NAT can use
+ --"mimicking"; -- Prevent address spoofing
+ --"tombstones"; -- Prevent registration of deleted accounts
+ --"s2s_bidi"; -- Bi-directional server-to-server (XEP-0288)
}
-- These modules are auto-loaded, but should you want
@@ -213,6 +224,9 @@ VirtualHost "localhost"
--- Store MUC messages in an archive and allow users to access it
--modules_enabled = { "muc_mam" }
+---Set up a file sharing component
+--Component "share.example.com" "http_file_share"
+
---Set up an external component (default component port is 5347)
--
-- External components allow adding various services, such as gateways/