diff options
Diffstat (limited to 'files/prosody.cfg.lua.j2')
| -rw-r--r-- | files/prosody.cfg.lua.j2 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/files/prosody.cfg.lua.j2 b/files/prosody.cfg.lua.j2 index bf010fc..692b0a3 100644 --- a/files/prosody.cfg.lua.j2 +++ b/files/prosody.cfg.lua.j2 @@ -5,6 +5,8 @@ plugin_paths = { "/usr/local/lib/prosody/modules" } modules_enabled = { + + -- Core "account_activity"; "admin_adhoc"; "admin_shell"; @@ -18,8 +20,6 @@ modules_enabled = { "dialback"; "disco"; "external_services"; - "http"; - "http_libjs"; "lastactivity"; "lastlog2"; "limits"; @@ -53,6 +53,13 @@ modules_enabled = { "vcard_legacy"; "version"; "watch_spam_reports"; + + -- Invites +{% if not is_transport_server %} + "http"; + "http_libjs"; +{% endif %} + } modules_disabled = { } @@ -85,9 +92,11 @@ turn_external_secret = "{{ turn_secret }}" -- From Monal considerations for XMPP server admins smacks_hibernation_time = 86400 +{% if not is_transport_server %} allow_registration = true invite_expiry = 86400 * 365 registration_invite_only = true +{% endif %} firewall_scripts = { "module:scripts/spam-blocking.pfw"; |
