diff options
author | Matthew Fennell <matthew@fennell.dev> | 2024-04-04 22:54:05 +0100 |
---|---|---|
committer | Matthew Fennell <matthew@fennell.dev> | 2024-04-04 22:54:05 +0100 |
commit | de867dadbcc3c69d97acf96bf3e86d11295eea39 (patch) | |
tree | 2962ef65772790097581f19a2af9b12ac30087e4 /files/prosody.cfg.lua.j2 | |
parent | d29a60b1afec942fe4f7ca7baa95d870afaae83e (diff) |
Bring repo up-to-date with current prod config
Diffstat (limited to 'files/prosody.cfg.lua.j2')
-rw-r--r-- | files/prosody.cfg.lua.j2 | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/files/prosody.cfg.lua.j2 b/files/prosody.cfg.lua.j2 index b6d9fc1..e20ba4e 100644 --- a/files/prosody.cfg.lua.j2 +++ b/files/prosody.cfg.lua.j2 @@ -2,8 +2,6 @@ -- -- SPDX-License-Identifier: AGPL-3.0-only -admins = { } - plugin_paths = { "/usr/local/lib/prosody/modules" } modules_enabled = { @@ -17,6 +15,8 @@ modules_enabled = { "dialback"; "disco"; "external_services"; + "http"; + "http_libjs"; "limits"; "mam"; "mimicking"; @@ -25,9 +25,6 @@ modules_enabled = { "posix"; "private"; "proxy65"; - "register"; - "register_apps"; - "reload_modules"; "roster"; "saslauth"; "server_contact_info"; @@ -41,10 +38,6 @@ modules_enabled = { "version"; } -reload_modules = { - "tls"; -} - modules_disabled = { } pidfile = "/run/prosody/prosody.pid"; @@ -62,15 +55,18 @@ authentication = "internal_hashed" certificates = "certs" c2s_direct_tls_ports = { 5223 } s2s_direct_tls_ports = { 5270 } +use_dane = true -- From Monal considerations for XMPP server admins smacks_hibernation_time = 86400 allow_registration = true -site_apps_show = { - "conversations"; - "dino"; - "monal"; +invite_expiry = 86400 * 365 +registration_invite_only = true + +firewall_scripts = { + "module:scripts/spam-blocking.pfw"; + "module:script/spam-blocklists.pfw"; } limits = { |