util.encodings: Spell out all IDNA 2008 options ICU has
[prosody.git] / spec / scansion / prosody.cfg.lua
blob1c359b27f44cd49dcab12d94c1febee30bea41a3
1 --luacheck: ignore
3 admins = { "admin@localhost" }
5 use_libevent = true
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
15 -- Not essential, but recommended
16 "carbons"; -- Keep multiple clients in sync
17 "pep"; -- Enables users to publish their avatar, 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 "vcard4"; -- User profiles (stored in PEP)
21 "vcard_legacy"; -- Conversion between legacy vCard and PEP Avatar, vcard
23 -- Nice to have
24 "version"; -- Replies to server version requests
25 "uptime"; -- Report how long server has been running
26 "time"; -- Let others know the time here on this server
27 "ping"; -- Replies to XMPP pings with pongs
28 "register"; -- Allow users to register on this server using a client and change passwords
29 "mam"; -- Store messages in an archive and allow users to access it
30 --"csi_simple"; -- Simple Mobile optimizations
32 -- Admin interfaces
33 --"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
34 --"admin_telnet"; -- Opens telnet console interface on localhost port 5582
36 -- HTTP modules
37 --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
38 --"websocket"; -- XMPP over WebSockets
39 --"http_files"; -- Serve static files from a directory over HTTP
41 -- Other specific functionality
42 --"limits"; -- Enable bandwidth limiting for XMPP connections
43 --"groups"; -- Shared roster support
44 --"server_contact_info"; -- Publish contact information for this service
45 --"announce"; -- Send announcement to all online users
46 --"welcome"; -- Welcome users who register accounts
47 --"watchregistrations"; -- Alert admins of registrations
48 --"motd"; -- Send a message to users when they log in
49 --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
50 --"proxy65"; -- Enables a file transfer proxy service which clients behind NAT can use
52 -- Useful for testing
53 --"scansion_record"; -- Records things that happen in scansion test case format
56 certificate = "certs"
58 allow_registration = false
60 c2s_require_encryption = false
61 allow_unencrypted_plain_auth = true
63 authentication = "insecure"
64 insecure_open_authentication = "Yes please, I know what I'm doing!"
66 storage = "memory"
68 mam_smart_enable = true
70 -- For the "sql" backend, you can uncomment *one* of the below to configure:
71 --sql = { driver = "SQLite3", database = "prosody.sqlite" } -- Default. 'database' is the filename.
72 --sql = { driver = "MySQL", database = "prosody", username = "prosody", password = "secret", host = "localhost" }
73 --sql = { driver = "PostgreSQL", database = "prosody", username = "prosody", password = "secret", host = "localhost" }
76 -- Logging configuration
77 -- For advanced logging see https://prosody.im/doc/logging
78 log = "*console"
80 daemonize = true
81 pidfile = "prosody.pid"
83 VirtualHost "localhost"
85 Component "conference.localhost" "muc"
86 storage = "memory"
88 Component "pubsub.localhost" "pubsub"
89 storage = "memory"