mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-01-18 05:00:36 +00:00
357f4d4040
* fix arrays * Set pidfile in prosody.cfg.lua
24 lines
718 B
Lua
24 lines
718 B
Lua
-- see example config at https://hg.prosody.im/0.9/file/0.9.10/prosody.cfg.lua.dist
|
|
-- easily extendable by putting into different config files within conf.d folder
|
|
|
|
local stringy = require "stringy"
|
|
|
|
admins = stringy.split(os.getenv("PROSODY_ADMINS"), ", ");
|
|
|
|
pidfile = "/var/run/prosody/prosody.pid"
|
|
|
|
use_libevent = true; -- improves performance
|
|
|
|
allow_registration = os.getenv("ALLOW_REGISTRATION");
|
|
|
|
c2s_require_encryption = os.getenv("C2S_REQUIRE_ENCRYPTION");
|
|
s2s_require_encryption = os.getenv("S2S_REQUIRE_ENCRYPTION");
|
|
s2s_secure_auth = os.getenv("S2S_SECURE_AUTH");
|
|
|
|
authentication = "internal_hashed";
|
|
|
|
log = {
|
|
{levels = {min = os.getenv("LOG_LEVEL")}, to = "console"};
|
|
};
|
|
|
|
Include "conf.d/*.cfg.lua";
|