prosody.cfg.lua.dist
changeset 6037 7bbe22d8dd09
parent 5806 c914f4322581
child 6345 8e006348d0e5
equal deleted inserted replaced
6036:f9e108f7db21 6037:7bbe22d8dd09
    61 	-- HTTP modules
    61 	-- HTTP modules
    62 		--"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
    62 		--"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
    63 		--"http_files"; -- Serve static files from a directory over HTTP
    63 		--"http_files"; -- Serve static files from a directory over HTTP
    64 
    64 
    65 	-- Other specific functionality
    65 	-- Other specific functionality
    66 		--"posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
       
    67 		--"groups"; -- Shared roster support
    66 		--"groups"; -- Shared roster support
    68 		--"announce"; -- Send announcement to all online users
    67 		--"announce"; -- Send announcement to all online users
    69 		--"welcome"; -- Welcome users who register accounts
    68 		--"welcome"; -- Welcome users who register accounts
    70 		--"watchregistrations"; -- Alert admins of registrations
    69 		--"watchregistrations"; -- Alert admins of registrations
    71 		--"motd"; -- Send a message to users when they log in
    70 		--"motd"; -- Send a message to users when they log in
    76 -- to disable them then uncomment them here:
    75 -- to disable them then uncomment them here:
    77 modules_disabled = {
    76 modules_disabled = {
    78 	-- "offline"; -- Store offline messages
    77 	-- "offline"; -- Store offline messages
    79 	-- "c2s"; -- Handle client connections
    78 	-- "c2s"; -- Handle client connections
    80 	-- "s2s"; -- Handle server-to-server connections
    79 	-- "s2s"; -- Handle server-to-server connections
       
    80 	-- "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
    81 }
    81 }
    82 
    82 
    83 -- Disable account creation by default, for security
    83 -- Disable account creation by default, for security
    84 -- For more information see http://prosody.im/doc/creating_accounts
    84 -- For more information see http://prosody.im/doc/creating_accounts
    85 allow_registration = false
    85 allow_registration = false