Comparison

prosody.cfg.lua.dist @ 11560:3bbb1af92514

Merge 0.11->trunk
author Matthew Wild <mwild1@gmail.com>
date Thu, 13 May 2021 11:17:13 +0100
parent 10422:cb6c0a5f9367
parent 11553:b0d8920ed5e5
child 11572:e06dba5e99b9
comparison
equal deleted inserted replaced
11538:30feeb4d9d0b 11560:3bbb1af92514
53 "pep"; -- Enables users to publish their avatar, mood, activity, playing music and more 53 "pep"; -- Enables users to publish their avatar, mood, activity, playing music and more
54 "private"; -- Private XML storage (for room bookmarks, etc.) 54 "private"; -- Private XML storage (for room bookmarks, etc.)
55 "blocklist"; -- Allow users to block communications with other users 55 "blocklist"; -- Allow users to block communications with other users
56 "vcard4"; -- User profiles (stored in PEP) 56 "vcard4"; -- User profiles (stored in PEP)
57 "vcard_legacy"; -- Conversion between legacy vCard and PEP Avatar, vcard 57 "vcard_legacy"; -- Conversion between legacy vCard and PEP Avatar, vcard
58 "limits"; -- Enable bandwidth limiting for XMPP connections
58 59
59 -- Nice to have 60 -- Nice to have
60 "version"; -- Replies to server version requests 61 "version"; -- Replies to server version requests
61 "uptime"; -- Report how long server has been running 62 "uptime"; -- Report how long server has been running
62 "time"; -- Let others know the time here on this server 63 "time"; -- Let others know the time here on this server
73 --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP" 74 --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
74 --"websocket"; -- XMPP over WebSockets 75 --"websocket"; -- XMPP over WebSockets
75 --"http_files"; -- Serve static files from a directory over HTTP 76 --"http_files"; -- Serve static files from a directory over HTTP
76 77
77 -- Other specific functionality 78 -- Other specific functionality
78 --"limits"; -- Enable bandwidth limiting for XMPP connections
79 --"groups"; -- Shared roster support 79 --"groups"; -- Shared roster support
80 --"server_contact_info"; -- Publish contact information for this service 80 --"server_contact_info"; -- Publish contact information for this service
81 --"announce"; -- Send announcement to all online users 81 --"announce"; -- Send announcement to all online users
82 --"welcome"; -- Welcome users who register accounts 82 --"welcome"; -- Welcome users who register accounts
83 --"watchregistrations"; -- Alert admins of registrations 83 --"watchregistrations"; -- Alert admins of registrations
123 -- Even if you disable s2s_secure_auth, you can still require valid 123 -- Even if you disable s2s_secure_auth, you can still require valid
124 -- certificates for some domains by specifying a list here. 124 -- certificates for some domains by specifying a list here.
125 125
126 --s2s_secure_domains = { "jabber.org" } 126 --s2s_secure_domains = { "jabber.org" }
127 127
128 -- Enable rate limits for incoming client and server connections
129
130 limits = {
131 c2s = {
132 rate = "10kb/s";
133 };
134 s2sin = {
135 rate = "30kb/s";
136 };
137 }
138
128 -- Select the authentication backend to use. The 'internal' providers 139 -- Select the authentication backend to use. The 'internal' providers
129 -- use Prosody's configured data storage to store the authentication data. 140 -- use Prosody's configured data storage to store the authentication data.
130 141
131 authentication = "internal_hashed" 142 authentication = "internal_hashed"
132 143