prosody: enable modules to improve user experience (XEP 0065, 0124, 0191, 0352, 0357, 0363)
This commit is contained in:
parent
f13bf4d466
commit
67af76cbda
@ -19,7 +19,7 @@ admins = { "{{ prosody_admin }}" }
|
||||
|
||||
-- Enable use of libevent for better performance under high load
|
||||
-- For more information see: http://prosody.im/doc/libevent
|
||||
--use_libevent = true;
|
||||
use_libevent = true;
|
||||
|
||||
-- This is the list of modules Prosody will load on startup.
|
||||
-- It looks for mod_modulename.lua in the plugins folder, so make sure that exists too.
|
||||
@ -54,20 +54,27 @@ modules_enabled = {
|
||||
--"admin_telnet"; -- Opens telnet console interface on localhost port 5582
|
||||
|
||||
-- HTTP modules
|
||||
--"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
|
||||
"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
|
||||
--"http_files"; -- Serve static files from a directory over HTTP
|
||||
|
||||
-- Other specific functionality
|
||||
"posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
|
||||
--"groups"; -- Shared roster support
|
||||
--"announce"; -- Send announcement to all online users
|
||||
"announce"; -- Send announcement to all online users
|
||||
--"welcome"; -- Welcome users who register accounts
|
||||
--"watchregistrations"; -- Alert admins of registrations
|
||||
--"motd"; -- Send a message to users when they log in
|
||||
--"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
|
||||
"carbons"; -- XEP-0280: Message Carbons
|
||||
"blocking"; -- XEP-0191: Blocking Command
|
||||
"privacy"; -- blocking: dependency
|
||||
"smacks"; -- XEP-0198: Reliability and fast reconnects for XMPP
|
||||
"carbons"; -- XEP-0280: Message Carbons
|
||||
"mam"; -- XEP-0313: Message Archive Management
|
||||
"csi"; -- XEP-0352: Client State Indication
|
||||
"throttle_presence"; -- CSI: suppress presence updates
|
||||
"filter_chatstates"; -- CSI: remove chat states (Someone is typing...)
|
||||
"cloud_notify"; -- XEP-0357: Push Notifications
|
||||
"http_upload"; -- XEP-0363: HTTP File Upload
|
||||
};
|
||||
|
||||
-- These modules are auto-loaded, but should you want
|
||||
@ -188,7 +195,9 @@ VirtualHost "{{ prosody_domain }}"
|
||||
--Component "conference.example.com" "muc"
|
||||
|
||||
-- Set up a SOCKS5 bytestream proxy for server-proxied file transfers:
|
||||
--Component "proxy.example.com" "proxy65"
|
||||
Component "proxy.{{ prosody_domain }}" "proxy65"
|
||||
proxy65_address = "{{ prosody_domain }}"
|
||||
proxy65_acl = { "{{ prosody_domain }}" }
|
||||
|
||||
---Set up an external component (default component port is 5347)
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user