summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2025-09-21 16:26:58 +0100
committerMatthew Fennell <matthew@fennell.dev>2025-09-21 16:26:58 +0100
commitfbb14450ea04f955aab4d1b9c4eab05d5f8707c6 (patch)
tree8dd380507cf8cb7e90f2028e44a1547dcde5ab6a
parentfe9672a9be77e0029abec3bac0cf487060c83c65 (diff)
Remove config restating defaults
According to mod_tls documentation, c2s_require_encryption and s2s_require_encryption already default to true. Therefore, they can be removed. Likewise, the default for authentication is internal_hashed, and the certs are already in the "certs" subdirectory relative to the prosody config file.
-rw-r--r--files/prosody.cfg.lua.j24
1 files changed, 0 insertions, 4 deletions
diff --git a/files/prosody.cfg.lua.j2 b/files/prosody.cfg.lua.j2
index 9064bca..85ab04b 100644
--- a/files/prosody.cfg.lua.j2
+++ b/files/prosody.cfg.lua.j2
@@ -88,10 +88,6 @@ log = {
}
s2s_secure_auth = true
-s2s_require_encryption = true
-c2s_require_encryption = true
-authentication = "internal_hashed"
-certificates = "certs"
c2s_direct_tls_ports = {
5223
}