prosody.cfg.lua.dist
changeset 12352 a95940c32ed0
parent 12351 bedf13eb573f
child 12353 89c638496fe1
equal deleted inserted replaced
12351:bedf13eb573f 12352:a95940c32ed0
    31 -- It looks for mod_modulename.lua in the plugins folder, so make sure that exists too.
    31 -- It looks for mod_modulename.lua in the plugins folder, so make sure that exists too.
    32 -- Documentation for bundled modules can be found at: https://prosody.im/doc/modules
    32 -- Documentation for bundled modules can be found at: https://prosody.im/doc/modules
    33 modules_enabled = {
    33 modules_enabled = {
    34 
    34 
    35 	-- Generally required
    35 	-- Generally required
       
    36 		"disco"; -- Service discovery
    36 		"roster"; -- Allow users to have a roster. Recommended ;)
    37 		"roster"; -- Allow users to have a roster. Recommended ;)
    37 		"saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.
    38 		"saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.
    38 		"tls"; -- Add support for secure TLS on c2s/s2s connections
    39 		"tls"; -- Add support for secure TLS on c2s/s2s connections
    39 		"disco"; -- Service discovery
       
    40 
    40 
    41 	-- Not essential, but recommended
    41 	-- Not essential, but recommended
       
    42 		"blocklist"; -- Allow users to block communications with other users
       
    43 		"bookmarks"; -- Synchronise open rooms between clients
    42 		"carbons"; -- Keep multiple clients in sync
    44 		"carbons"; -- Keep multiple clients in sync
       
    45 		"dialback"; -- s2s dialback support
       
    46 		"limits"; -- Enable bandwidth limiting for XMPP connections
    43 		"pep"; -- Enables users to publish their avatar, mood, activity, playing music and more
    47 		"pep"; -- Enables users to publish their avatar, mood, activity, playing music and more
    44 		"private"; -- Private XML storage (for room bookmarks, etc.)
    48 		"private"; -- Private XML storage (for room bookmarks, etc.)
    45 		"blocklist"; -- Allow users to block communications with other users
    49 		"smacks"; -- Stream management and resumption (XEP-0198)
    46 		"vcard4"; -- User profiles (stored in PEP)
    50 		"vcard4"; -- User profiles (stored in PEP)
    47 		"vcard_legacy"; -- Conversion between legacy vCard and PEP Avatar, vcard
    51 		"vcard_legacy"; -- Conversion between legacy vCard and PEP Avatar, vcard
    48 		"limits"; -- Enable bandwidth limiting for XMPP connections
       
    49 		"bookmarks"; -- Synchronise open rooms between clients
       
    50 		"smacks"; -- Stream management and resumption (XEP-0198)
       
    51 		"dialback"; -- s2s dialback support
       
    52 
    52 
    53 	-- Nice to have
    53 	-- Nice to have
    54 		"csi_simple"; -- Simple Mobile optimizations
    54 		"csi_simple"; -- Simple Mobile optimizations
    55 		"version"; -- Replies to server version requests
       
    56 		"uptime"; -- Report how long server has been running
       
    57 		"time"; -- Let others know the time here on this server
       
    58 		"ping"; -- Replies to XMPP pings with pongs
       
    59 		"register"; -- Allow users to register on this server using a client and change passwords
       
    60 		"invites"; -- Create and manage invites
    55 		"invites"; -- Create and manage invites
    61 		"invites_register"; -- Create accounts using invites
    56 		"invites_register"; -- Create accounts using invites
    62 		"invites_adhoc"; -- Create invites via AdHoc command
    57 		"invites_adhoc"; -- Create invites via AdHoc command
       
    58 		"ping"; -- Replies to XMPP pings with pongs
       
    59 		"register"; -- Allow users to register on this server using a client and change passwords
       
    60 		"time"; -- Let others know the time here on this server
       
    61 		"uptime"; -- Report how long server has been running
       
    62 		"version"; -- Replies to server version requests
    63 		--"mam"; -- Store recent messages to allow multi-device synchronization
    63 		--"mam"; -- Store recent messages to allow multi-device synchronization
    64 		--"turn_external"; -- Provide external STUN/TURN service for e.g. audio/video calls
    64 		--"turn_external"; -- Provide external STUN/TURN service for e.g. audio/video calls
    65 
    65 
    66 	-- Admin interfaces
    66 	-- Admin interfaces
    67 		"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
    67 		"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
    68 		"admin_shell"; -- Allow secure administration via 'prosodyctl shell'
    68 		"admin_shell"; -- Allow secure administration via 'prosodyctl shell'
    69 
    69 
    70 	-- HTTP modules
    70 	-- HTTP modules
    71 		--"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
    71 		--"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
       
    72 		--"http_openmetrics"; -- for exposing metrics to stats collectors
    72 		--"websocket"; -- XMPP over WebSockets
    73 		--"websocket"; -- XMPP over WebSockets
    73 		--"http_openmetrics"; -- for exposing metrics to stats collectors
       
    74 
    74 
    75 	-- Other specific functionality
    75 	-- Other specific functionality
       
    76 		--"announce"; -- Send announcement to all online users
    76 		--"groups"; -- Shared roster support
    77 		--"groups"; -- Shared roster support
       
    78 		--"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
       
    79 		--"mimicking"; -- Prevent address spoofing
       
    80 		--"motd"; -- Send a message to users when they log in
       
    81 		--"proxy65"; -- Enables a file transfer proxy service which clients behind NAT can use
       
    82 		--"s2s_bidi"; -- Bi-directional server-to-server (XEP-0288)
    77 		--"server_contact_info"; -- Publish contact information for this service
    83 		--"server_contact_info"; -- Publish contact information for this service
    78 		--"announce"; -- Send announcement to all online users
    84 		--"tombstones"; -- Prevent registration of deleted accounts
       
    85 		--"watchregistrations"; -- Alert admins of registrations
    79 		--"welcome"; -- Welcome users who register accounts
    86 		--"welcome"; -- Welcome users who register accounts
    80 		--"watchregistrations"; -- Alert admins of registrations
       
    81 		--"motd"; -- Send a message to users when they log in
       
    82 		--"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
       
    83 		--"proxy65"; -- Enables a file transfer proxy service which clients behind NAT can use
       
    84 		--"mimicking"; -- Prevent address spoofing
       
    85 		--"tombstones"; -- Prevent registration of deleted accounts
       
    86 		--"s2s_bidi"; -- Bi-directional server-to-server (XEP-0288)
       
    87 }
    87 }
    88 
    88 
    89 -- These modules are auto-loaded, but should you want
    89 -- These modules are auto-loaded, but should you want
    90 -- to disable them then uncomment them here:
    90 -- to disable them then uncomment them here:
    91 modules_disabled = {
    91 modules_disabled = {