Mise à jour de 'prosody.cfg.lua'
This commit is contained in:
parent
66a9f0b198
commit
7527705c81
@ -16,7 +16,6 @@
|
||||
-- Settings in this section apply to the whole server and are the default settings
|
||||
-- for any virtual hosts
|
||||
|
||||
|
||||
admins = {"anael@im.cyberjinh.fr", "keepwatchingme@im.cyberjinh.fr" }
|
||||
|
||||
-- Enable use of libevent for better performance under high load
|
||||
@ -82,11 +81,16 @@ modules_enabled = {
|
||||
"mam_archive"; -- XEP-0136: Message Archiving for mod_mam
|
||||
"http"; -- Active HTTP
|
||||
-- "register_web"; -- Active registraion web page
|
||||
"strict_https";
|
||||
"http_upload";
|
||||
"webpresence";
|
||||
"server_contact_info";
|
||||
"block_registrations";
|
||||
"pastebin";
|
||||
"http_altconnect";
|
||||
"bookmarks";
|
||||
"turncredentials";
|
||||
|
||||
}
|
||||
|
||||
-- These modules are auto-loaded, but should you want
|
||||
@ -98,6 +102,10 @@ modules_disabled = {
|
||||
-- "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
|
||||
}
|
||||
|
||||
hsts_header = "max-age=31556952"
|
||||
turncredentials_host = "turn.im.cyberjinh.fr"
|
||||
turncredentials_secret = "mysecret"
|
||||
|
||||
console_ports = { 5582 }
|
||||
--legacy_ssl_ports = { 5223 }
|
||||
|
||||
@ -123,11 +131,11 @@ contact_info = {
|
||||
feedback = { "xmpp:keepwatchingme@im.cyberjinh.fr", "https:cyberjinh.fr/contact.html" };
|
||||
support = { "xmpp:keepwatchingme@im.cyberjinh.fr", "https:cyberjinh.fr/contact.html" };
|
||||
}
|
||||
consider_bosh_secure = true
|
||||
--cross_domain_bosh = true
|
||||
-- consider_bosh_secure = true
|
||||
-- cross_domain_bosh = true
|
||||
|
||||
cross_domain_websocket = { "https://im.cyberjinh.fr" };
|
||||
consider_websocket_secure = true
|
||||
-- cross_domain_websocket = { "https://im.cyberjinh.fr" };
|
||||
-- consider_websocket_secure = true
|
||||
|
||||
-- mod_limit_auth --
|
||||
limit_auth_period = 30
|
||||
@ -142,6 +150,11 @@ 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
|
||||
@ -223,7 +236,8 @@ max_archive_query_results = 20;
|
||||
-- Logging configuration
|
||||
-- For advanced logging see https://prosody.im/doc/logging
|
||||
log = {
|
||||
info = "/dev/null"; -- Change 'info' to 'debug' for verbose logging
|
||||
-- info = "/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for verbose logging
|
||||
info = "/dev/null";
|
||||
error = "/var/log/prosody/prosody.err";
|
||||
-- "*syslog"; -- Uncomment this for logging to syslog
|
||||
-- "*console"; -- Log to the console, useful for debugging with daemonize=false
|
||||
@ -251,6 +265,7 @@ certificates = "/etc/prosody/certs"
|
||||
VirtualHost "im.cyberjinh.fr"
|
||||
http_host = "im.cyberjinh.fr"
|
||||
enabled = true;
|
||||
legacy_ssl_ports = { 5223 }
|
||||
-- http_external_url = "im.cyberjinh.fr"
|
||||
allow_registration = false;
|
||||
min_seconds_between_registrations = 3600
|
||||
@ -277,9 +292,12 @@ min_seconds_between_registrations = 3600
|
||||
"vcard_muc"
|
||||
}
|
||||
|
||||
muc_log_by_default = true;
|
||||
muc_log_all_rooms = false;
|
||||
max_history_messages = 30;
|
||||
muc_log_by_default = true
|
||||
muc_log_all_rooms = false
|
||||
muc_room_default_history_length = 30
|
||||
muc_log_expires_after = "1w"
|
||||
muc_log_cleanup_interval = 4 * 60 * 60
|
||||
muc_room_default_language = "fr"
|
||||
|
||||
admins = { "anael@im.cyberjinh.fr", "keepwatchingme@im.cyberjinh.fr" }
|
||||
|
||||
@ -301,13 +319,12 @@ Component "proxy.im.cyberjinh.fr" "proxy65"
|
||||
|
||||
Component "upload.im.cyberjinh.fr"
|
||||
http_upload_expire_after = 60 * 60 * 24 * 7
|
||||
http_upload_file_size_limit = 10000000
|
||||
|
||||
|
||||
http_upload_file_size_limit = 10 * 1024 * 1024
|
||||
|
||||
--Component "irc.cyberjinh.fr"
|
||||
-- component_secret = "mysecondsecret"
|
||||
|
||||
ssl = {
|
||||
key = "/etc/prosody/certs/im.cyberjinh.fr/privkey.pem";
|
||||
certificate = "/etc/prosody/certs/im.cyberjinh.fr/fullchain.pem";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user