diff options
Diffstat (limited to 'files/prosody.cfg.lua.j2')
| -rw-r--r-- | files/prosody.cfg.lua.j2 | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/files/prosody.cfg.lua.j2 b/files/prosody.cfg.lua.j2 index 3ce2342..bb9a08c 100644 --- a/files/prosody.cfg.lua.j2 +++ b/files/prosody.cfg.lua.j2 @@ -2,7 +2,9 @@ -- -- SPDX-License-Identifier: AGPL-3.0-only -plugin_paths = { "/usr/local/lib/prosody/modules" } +plugin_paths = { + "/usr/local/lib/prosody/modules" +} modules_enabled = { @@ -70,14 +72,20 @@ modules_enabled = { } -modules_disabled = { } +modules_disabled = { +} pidfile = "/run/prosody/prosody.pid"; log = { info = "/var/log/prosody/prosody.log"; error = "/var/log/prosody/prosody.err"; - { levels = { "error" }; to = "syslog"; }; + { + levels = { + "error" + }; + to = "syslog"; + }; } s2s_secure_auth = true @@ -85,12 +93,18 @@ s2s_require_encryption = true c2s_require_encryption = true authentication = "internal_hashed" certificates = "certs" -c2s_direct_tls_ports = { 5223 } -s2s_direct_tls_ports = { 5270 } +c2s_direct_tls_ports = { + 5223 +} +s2s_direct_tls_ports = { + 5270 +} use_dane = true {% if not is_transport_server %} -anti_spam_services = { "xmppbl.org" } +anti_spam_services = { + "xmppbl.org" +} report_forward_to = { "submit@reports.xmppbl.org"; } @@ -112,8 +126,8 @@ registration_invite_only = true {% if not is_transport_server %} firewall_scripts = { - "module:scripts/spam-blocking.pfw"; - "module:script/spam-blocklists.pfw"; + "module:scripts/spam-blocking.pfw"; + "module:script/spam-blocklists.pfw"; } {% endif %} |
