X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/a7dc7d2358f720bc87db3a9a82738d04cddded89..d3fcced8b221842b61f2cbd537f9c40437fbbf46:/roles/prosody/templates/prosody.cfg.lua diff --git a/roles/prosody/templates/prosody.cfg.lua b/roles/prosody/templates/prosody.cfg.lua index 86c4449..d92d82e 100644 --- a/roles/prosody/templates/prosody.cfg.lua +++ b/roles/prosody/templates/prosody.cfg.lua @@ -85,7 +85,7 @@ modules_enabled = { -- Community modules "smacks"; -- XEP-0198: Stream Management - "csi"; "filter_chatstates"; "throttle_presence"; -- XEP-0352: Client State Indication + "csi_battery_saver"; -- XEP-0352: Client State Indication "http_upload"; -- XEP-0363: HTTP File Upload "register_web"; -- what it says on the tin }; @@ -105,7 +105,7 @@ allow_registration = false -- Debian: -- send the server to background. -- -daemonize = true +daemonize = false -- Debian: -- Please, don't change this option since /var/run/prosody/ @@ -119,7 +119,7 @@ ssl = { key = "/etc/ssl/private/letsencrypt/live.key"; certificate = "/etc/ssl/mycerts/letsencrypt/live.crt+chain"; ciphers = "ALL:!EXPORT:!LOW:!MEDIUM:!aNULL:!3DES"; - dhparam = "{{ prosody.paths.dh2048 }}"; + dhparam = "/etc/ssl/dh2048.pem"; } -- support legacy clients legacy_ssl_ports = { 5223 } @@ -186,7 +186,7 @@ authentication = "internal_hashed" -- they are offline. This setting controls how long Prosody will keep -- messages in the archive before removing them. -archive_expires_after = "1w" -- Remove archived messages after 1 week +archive_expires_after = "2d" -- Remove archived messages after 2 days -- You can also configure messages to be stored in-memory only. For more -- archiving options, see https://prosody.im/doc/modules/mod_mam