update prosody config
[ansible.git] / roles / prosody / templates / prosody.cfg.lua
index 4f99029ba609b931c75b8835d66ae47eaebeb779..d92d82e2000caa491aee760ec77de7c254841b48 100644 (file)
@@ -85,7 +85,7 @@ modules_enabled = {
 
     -- Community modules
         "smacks"; -- XEP-0198: Stream Management
 
     -- 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
 };
         "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.
 --
 -- Debian:
 --   send the server to background.
 --
-daemonize = true
+daemonize = false
 
 -- Debian:
 --   Please, don't change this option since /var/run/prosody/
 
 -- 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";
        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 }
 }
 -- support legacy clients
 legacy_ssl_ports = { 5223 }