tests/prosody/prosody.cfg.lua

1
-- Prosody configuration for the verse integration tests.
2
-- Started by tests/prosody/start.sh inside the tests/compose.yaml "prosody" service.
3
 
4
daemonize = false;
5
log = { { levels = { min = "info" }, to = "console" } };
6
data_path = "/var/lib/prosody";
7
certificates = "/etc/prosody/certs";
8
 
9
admins = { "alice@localhost" };
10
 
11
modules_enabled = {
12
	"roster";
13
	"saslauth";
14
	"tls";
15
	"disco";
16
	"private";
17
	"vcard_legacy";
18
	"version";
19
	"uptime";
20
	"time";
21
	"ping";
22
	"register";
23
	"pep";
24
	"carbons";
25
	"blocklist";
26
};
27
 
28
-- The test client runs without a trusted CA, so keep plaintext logins possible
29
c2s_require_encryption = false;
30
allow_unencrypted_plain_auth = true;
31
allow_registration = true;
32
 
33
VirtualHost "localhost"
34
 
35
Component "conference.localhost" "muc"
36
	-- verse does not send the instant-room request that unlocks a newly created room
37
	muc_room_locking = false;
38
Component "pubsub.localhost" "pubsub"