aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-02-14 16:27:58 +0000
committerMatthew Wild <mwild1@gmail.com>2022-02-14 16:27:58 +0000
commit25cb355e101c2b76e0fa190b2fca3c8c991a7a4a (patch)
tree20dc8b9ae286b9aff7e84babdce787c65139991f
parentfde42d8486b1573ce7a5a6d8837c9e758cabfb2b (diff)
downloadprosody-25cb355e101c2b76e0fa190b2fca3c8c991a7a4a.tar.gz
prosody-25cb355e101c2b76e0fa190b2fca3c8c991a7a4a.zip
prosody.cfg.lua.dist: Improve section-like layout via headers and spacing
-rw-r--r--prosody.cfg.lua.dist9
1 files changed, 9 insertions, 0 deletions
diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist
index 1a268188..d4956434 100644
--- a/prosody.cfg.lua.dist
+++ b/prosody.cfg.lua.dist
@@ -105,6 +105,7 @@ modules_disabled = {
-- For more information see https://prosody.im/doc/creating_accounts
allow_registration = false
+-- Server-to-server authentication
-- Require valid certificates for server-to-server connections?
-- If false, other methods such as dialback (DNS) may be used instead.
@@ -122,6 +123,8 @@ s2s_secure_auth = true
--s2s_secure_domains = { "jabber.org" }
+
+-- Rate limits
-- Enable rate limits for incoming client and server connections. These help
-- protect from excessive resource consumption and denial-of-service attacks.
@@ -134,11 +137,14 @@ limits = {
};
}
+-- Authentication
-- Select the authentication backend to use. The 'internal' providers
-- use Prosody's configured data storage to store the authentication data.
authentication = "internal_hashed"
+
+-- Storage
-- Select the storage backend to use. By default Prosody uses flat files
-- in its configured data directory, but it also supports more backends
-- through modules. An "sql" backend is included by default, but requires
@@ -174,6 +180,7 @@ archive_expires_after = "1w" -- Remove archived messages after 1 week
--turn_external_host = "turn.example.com"
--turn_external_secret = "your-secret-turn-access-token"
+
-- Logging configuration
-- For advanced logging see https://prosody.im/doc/logging
log = {
@@ -183,10 +190,12 @@ log = {
-- "*console"; -- Log to the console, useful for debugging when running in the foreground
}
+
-- Uncomment to enable statistics
-- For more info see https://prosody.im/doc/statistics
-- statistics = "internal"
+
-- Certificates
-- Every virtual host and component needs a certificate so that clients and
-- servers can securely verify its identity. Prosody will automatically load