Comparison

spec/scansion/prosody.cfg.lua @ 9294:31c02b3109e1

spec/scansion/prosody.cfg.lua: Config file to be used for integration tests
author Matthew Wild <mwild1@gmail.com>
date Wed, 12 Sep 2018 13:49:53 +0100
child 9296:9948e267254b
comparison
equal deleted inserted replaced
9293:0a751835627d 9294:31c02b3109e1
1 --luacheck: ignore
2
3 admins = { "admin@localhost" }
4
5 use_libevent = true
6
7 modules_enabled = {
8 -- Generally required
9 "roster"; -- Allow users to have a roster. Recommended ;)
10 "saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.
11 "tls"; -- Add support for secure TLS on c2s/s2s connections
12 "dialback"; -- s2s dialback support
13 "disco"; -- Service discovery
14
15 -- Not essential, but recommended
16 "carbons"; -- Keep multiple clients in sync
17 "pep"; -- Enables users to publish their mood, activity, playing music and more
18 "private"; -- Private XML storage (for room bookmarks, etc.)
19 "blocklist"; -- Allow users to block communications with other users
20 "vcard"; -- Allow users to set vCards
21
22 -- Nice to have
23 "version"; -- Replies to server version requests
24 "uptime"; -- Report how long server has been running
25 "time"; -- Let others know the time here on this server
26 "ping"; -- Replies to XMPP pings with pongs
27 "register"; -- Allow users to register on this server using a client and change passwords
28 --"mam"; -- Store messages in an archive and allow users to access it
29
30 -- HTTP modules
31 --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
32 --"websocket"; -- XMPP over WebSockets
33 --"http_files"; -- Serve static files from a directory over HTTP
34
35 -- Other specific functionality
36 --"limits"; -- Enable bandwidth limiting for XMPP connections
37 --"groups"; -- Shared roster support
38 --"server_contact_info"; -- Publish contact information for this service
39 --"announce"; -- Send announcement to all online users
40 --"welcome"; -- Welcome users who register accounts
41 --"watchregistrations"; -- Alert admins of registrations
42 --"motd"; -- Send a message to users when they log in
43 --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
44 --"proxy65"; -- Enables a file transfer proxy service which clients behind NAT can use
45 }
46
47 certificate = "certs"
48
49 allow_registration = false
50
51 c2s_require_encryption = false
52 allow_unencrypted_plain_auth = true
53
54 authentication = "insecure"
55 insecure_open_authentication = "Yes please, I know what I'm doing!"
56
57 storage = "memory"
58
59
60 -- For the "sql" backend, you can uncomment *one* of the below to configure:
61 --sql = { driver = "SQLite3", database = "prosody.sqlite" } -- Default. 'database' is the filename.
62 --sql = { driver = "MySQL", database = "prosody", username = "prosody", password = "secret", host = "localhost" }
63 --sql = { driver = "PostgreSQL", database = "prosody", username = "prosody", password = "secret", host = "localhost" }
64
65
66 -- Logging configuration
67 -- For advanced logging see https://prosody.im/doc/logging
68 log = "*console"
69
70 VirtualHost "localhost"
71
72 Component "conference.localhost" "muc"
73 storage = "memory"
74
75 Component "pubsub.localhost" "pubsub"
76 storage = "memory"