Update 'prosody.cfg.lua'

This commit is contained in:
Anael G 2018-11-22 20:40:13 +01:00
parent bcf456e995
commit 1f0a496b29

View File

@ -42,13 +42,11 @@ modules_enabled = {
-- Not essential, but recommended
"private"; -- Private XML storage (for room bookmarks, etc.)
"vcard"; -- Allow users to set vCards
"csi";
"profile"; -- Allow users to set vCards
"csi_simple";
-- These are commented by default as they have a performance impact
--"privacy"; -- Support privacy lists
"blocklist"; --New module replacing mod_privacy
--"compression"; -- Stream compression
-- These are commented by default as they have a performance impact
"blocklist"; --New module replacing mod_privacy
-- Nice to have
--"log_auth"; -- Logging d'IP dans les log en cas d'échec d'authentification
@ -83,7 +81,7 @@ modules_enabled = {
"mam"; -- XEP-0313 message archive management
"mam_archive"; -- XEP-0136: Message Archiving for mod_mam
"http"; -- Active HTTP
"register_web"; -- Active registraion web page
-- "register_web"; -- Active registraion web page
"http_upload";
"webpresence";
"server_contact_info";
@ -145,15 +143,10 @@ smacks_max_ack_delay = 60
-- mod_cloud_notify --
push_notification_important_body = "Nouveau Message"
-- mod_conversjs --
conversejs_options = {
debug = true;
view_mode = "fullscreen";
}
-- Disable account creation by default, for security
-- For more information see https://prosody.im/doc/creating_accounts
allow_registration = true
allow_registration = false
--mod_block_registrations--
block_registrations_users = { "administrator", "admin", "hostmaster", "postmaster", "webmaster", "root", "xmpp", "anael" }
@ -260,7 +253,7 @@ VirtualHost "im.cyberjinh.fr"
http_host = "im.cyberjinh.fr"
enabled = true;
-- http_external_url = "im.cyberjinh.fr"
allow_registration = true;
allow_registration = false;
min_seconds_between_registrations = 3600
@ -281,7 +274,7 @@ min_seconds_between_registrations = 3600
name = "Chatroom powered by you"
modules_enabled = {
"pastebin";
"mam_muc";
"muc_mam";
"vcard_muc"
}
@ -313,8 +306,6 @@ http_upload_file_size_limit = 10000000
--Component "irc.cyberjinh.fr"
-- component_secret = "/R0llerG4ng'"
ssl = {
key = "/etc/prosody/certs/im.cyberjinh.fr/privkey.pem";