summaryrefslogtreecommitdiff
path: root/files/prosody.cfg.lua.j2
diff options
context:
space:
mode:
Diffstat (limited to 'files/prosody.cfg.lua.j2')
-rw-r--r--files/prosody.cfg.lua.j219
1 files changed, 17 insertions, 2 deletions
diff --git a/files/prosody.cfg.lua.j2 b/files/prosody.cfg.lua.j2
index 85ab04b..c05c730 100644
--- a/files/prosody.cfg.lua.j2
+++ b/files/prosody.cfg.lua.j2
@@ -31,8 +31,6 @@ modules_enabled = {
"private";
"proxy65";
"roster";
- "s2s_auth_dane_in";
- "s2s_bidi";
"sasl2";
"sasl2_bind2";
"sasl2_fast";
@@ -69,9 +67,20 @@ modules_enabled = {
"watch_spam_reports";
{% endif %}
+ -- S2S
+{% if not is_transport_server %}
+ "s2s_auth_dane_in";
+ "s2s_bidi";
+{% endif %}
+
}
modules_disabled = {
+
+{% if is_transport_server %}
+ "s2s";
+{% endif %}
+
}
pidfile = "/run/prosody/prosody.pid";
@@ -87,14 +96,20 @@ log = {
};
}
+{% if not is_transport_server %}
s2s_secure_auth = true
+{% endif %}
+
c2s_direct_tls_ports = {
5223
}
+
+{% if not is_transport_server %}
s2s_direct_tls_ports = {
5270
}
use_dane = true
+{% endif %}
{% if not is_transport_server %}
anti_spam_services = {