Software /
code /
prosody
Changeset
12338:677ea3cc9c84
prosody.cfg.lua.dist: Improve section-like layout via headers and spacing
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 14 Feb 2022 16:27:58 +0000 |
parents | 12337:fea2d8fff5c6 |
children | 12339:4ba0a0dfa047 |
files | prosody.cfg.lua.dist |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/prosody.cfg.lua.dist Mon Feb 14 16:01:34 2022 +0000 +++ b/prosody.cfg.lua.dist Mon Feb 14 16:27:58 2022 +0000 @@ -105,6 +105,7 @@ -- 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_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 @@ }; } +-- 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 @@ --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 @@ -- "*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