diff options
author | lassulus <lassulus@lassul.us> | 2021-12-25 20:08:03 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-12-25 20:08:03 +0100 |
commit | 9f194012bd6e5524f547a9c361ee411baaee5048 (patch) | |
tree | a4cd821b08167d2db91b8ee7eca93805f41c776b /tv/3modules/ejabberd/config.nix | |
parent | f31f9f37907c031091f208d30bd5f2e5011eebb0 (diff) | |
parent | a1a0f11af481d94fea38f0f6f71e3340587503ac (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/3modules/ejabberd/config.nix')
-rw-r--r-- | tv/3modules/ejabberd/config.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tv/3modules/ejabberd/config.nix b/tv/3modules/ejabberd/config.nix index a0631e226..a022bc448 100644 --- a/tv/3modules/ejabberd/config.nix +++ b/tv/3modules/ejabberd/config.nix @@ -48,6 +48,9 @@ in /* yaml */ '' - "::1/128" - "::FFFF:127.0.0.1/128" + certfiles: + - /tmp/credentials/certfile + hosts: ${toJSON config.hosts} language: "en" @@ -58,9 +61,8 @@ in /* yaml */ '' ip: "::" module: ejabberd_c2s shaper: c2s_shaper - certfile: ${toJSON config.certfile.path} ciphers: ${toJSON ciphers} - dhfile: ${toJSON config.dhfile.path} + dhfile: /var/lib/ejabberd/dhfile protocol_options: ${toJSON protocol_options} starttls: true starttls_required: true @@ -109,9 +111,8 @@ in /* yaml */ '' mod_http_api: {} s2s_access: s2s - s2s_certfile: ${toJSON config.s2s_certfile.path} s2s_ciphers: ${toJSON ciphers} - s2s_dhfile: ${toJSON config.dhfile.path} + s2s_dhfile: /var/lib/ejabberd/dhfile s2s_protocol_options: ${toJSON protocol_options} s2s_tls_compression: false s2s_use_starttls: required |