prosody 13.0.6

This commit is contained in:
2026-08-02 16:22:46 +02:00
parent 939d5cbc7f
commit 3618be5f4a
11 changed files with 99 additions and 89 deletions
+18 -18
View File
@@ -1,33 +1,33 @@
-- see example config at https://hg.prosody.im/-1.9/file/0.9.10/prosody.cfg.lua.dist
-- easily extendable by putting into different config files within conf.d folder
local getenv = Lua.os.getenv
local stringy = Lua.require "stringy"
local stringy = require "stringy"
local prosody_admins = os.getenv("PROSODY_ADMINS") or "";
local prosody_admins = getenv("PROSODY_ADMINS") or "";
admins = stringy.split(prosody_admins, ", ");
pidfile = "/var/run/prosody/prosody.pid"
allow_registration = os.getenv("ALLOW_REGISTRATION") or "true";
allow_registration = getenv("ALLOW_REGISTRATION") or "true";
c2s_require_encryption = os.getenv("C2S_REQUIRE_ENCRYPTION") or "true";
s2s_require_encryption = os.getenv("S2S_REQUIRE_ENCRYPTION") or "true";
s2s_secure_auth = os.getenv("S2S_SECURE_AUTH") or "true";
c2s_require_encryption = getenv("C2S_REQUIRE_ENCRYPTION") or "true";
s2s_require_encryption = getenv("S2S_REQUIRE_ENCRYPTION") or "true";
s2s_secure_auth = getenv("S2S_SECURE_AUTH") or "true";
authentication = os.getenv("AUTHENTICATION") or "internal_hashed";
authentication = getenv("AUTHENTICATION") or "internal_hashed";
ldap_base = os.getenv("LDAP_BASE");
ldap_server = os.getenv("LDAP_SERVER") or "localhost";
ldap_rootdn = os.getenv("LDAP_ROOTDN") or "";
ldap_password = os.getenv("LDAP_PASSWORD") or "";
ldap_filter = os.getenv("LDAP_FILTER") or "(uid=$user)";
ldap_scope = os.getenv("LDAP_SCOPE") or "subtree";
ldap_tls = os.getenv("LDAP_TLS") or "false";
ldap_mode = os.getenv("LDAP_MODE") or "bind";
ldap_admin_filter = os.getenv("LDAP_ADMIN_FILTER") or "";
ldap_base = getenv("LDAP_BASE");
ldap_server = getenv("LDAP_SERVER") or "localhost";
ldap_rootdn = getenv("LDAP_ROOTDN") or "";
ldap_password = getenv("LDAP_PASSWORD") or "";
ldap_filter = getenv("LDAP_FILTER") or "(uid=$user)";
ldap_scope = getenv("LDAP_SCOPE") or "subtree";
ldap_tls = getenv("LDAP_TLS") or "false";
ldap_mode = getenv("LDAP_MODE") or "bind";
ldap_admin_filter = getenv("LDAP_ADMIN_FILTER") or "";
log = {
{levels = {min = os.getenv("LOG_LEVEL") or "info"}, to = "console"};
{levels = {min = getenv("LOG_LEVEL") or "info"}, to = "console"};
};
Include "conf.d/*.cfg.lua";