forked from ccchb/ansible
roles/prosody: Current configuration
This commit is contained in:
parent
6a7110194d
commit
01647698b2
3 changed files with 10 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
prosody_domain: "jabber.ccchb.de"
|
prosody_domain: "jabber.ccchb.de"
|
||||||
prosody_ssl_cert: "/etc/letsencrypt/live/{{ prosody_domain }}/fullchain.pem"
|
prosody_ssl_cert: "/etc/prosody/certs/fullchain.pem"
|
||||||
prosody_ssl_key: "/etc/letsencrypt/live/{{ prosody_domain }}/privkey.pem"
|
prosody_ssl_key: "/etc/prosody/certs/privkey.pem"
|
||||||
prosody_allow_registration: false
|
prosody_allow_registration: false
|
||||||
|
|
||||||
prosody_nginx_install: true
|
prosody_nginx_install: true
|
||||||
|
|
|
@ -16,6 +16,6 @@
|
||||||
- name: Configure prosody
|
- name: Configure prosody
|
||||||
template:
|
template:
|
||||||
src: prosody.cfg.lua.j2
|
src: prosody.cfg.lua.j2
|
||||||
dest: /etc/prosody/prosody_test.cfg.lua
|
dest: /etc/prosody/prosody.cfg.lua
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
|
@ -56,6 +56,7 @@ modules_enabled = {
|
||||||
|
|
||||||
-- Admin interfaces
|
-- Admin interfaces
|
||||||
"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
|
"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
|
||||||
|
"admin_shell";
|
||||||
--"admin_telnet"; -- Opens telnet console interface on localhost port 5582
|
--"admin_telnet"; -- Opens telnet console interface on localhost port 5582
|
||||||
|
|
||||||
-- HTTP modules
|
-- HTTP modules
|
||||||
|
@ -71,6 +72,12 @@ modules_enabled = {
|
||||||
--"motd"; -- Send a message to users when they log in
|
--"motd"; -- Send a message to users when they log in
|
||||||
--"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
|
--"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
|
||||||
"turn_external";
|
"turn_external";
|
||||||
|
"carbons";
|
||||||
|
"blocklist";
|
||||||
|
"mam";
|
||||||
|
"csi_simple";
|
||||||
|
"vcard_legacy";
|
||||||
|
"proxy65";
|
||||||
};
|
};
|
||||||
|
|
||||||
-- These modules are auto-loaded, but should you want
|
-- These modules are auto-loaded, but should you want
|
||||||
|
|
Loading…
Reference in a new issue