diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-08-13 09:16:27 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-08-13 09:16:27 +0200 |
commit | a74192ea23192a6ed000c87d5b9137a2348cb5b4 (patch) | |
tree | c463bbbe5289b56e1bc6b135fcacc151f38d55c8 /ejabberd | |
parent | 5d606e2080fb8cf4ebf8b51c955e452cb36c053d (diff) |
update ejabberd config
Diffstat (limited to 'ejabberd')
-rw-r--r-- | ejabberd/addons.yml | 30 | ||||
-rw-r--r-- | ejabberd/defs.yml | 6 |
2 files changed, 27 insertions, 9 deletions
diff --git a/ejabberd/addons.yml b/ejabberd/addons.yml index 7f2bd83..10b546d 100644 --- a/ejabberd/addons.yml +++ b/ejabberd/addons.yml @@ -1,20 +1,30 @@ include_config_file: - "/etc/local-COMMON/ejabberd/config.d/sip-sips.yml": [] - "/etc/local-COMMON/ejabberd/config.d/stun-turns.yml": [] - "/etc/local-COMMON/ejabberd/config.d/xmpp-auth-pam.yml": [] - "/etc/local-COMMON/ejabberd/config.d/xmpp-muclog.yml": [] + "/etc/local-COMMON/ejabberd/config.d/irc.yml": [] +# "/etc/local-COMMON/ejabberd/config.d/sip-sips.yml": [] +# "/etc/local-COMMON/ejabberd/config.d/stun-turns.yml": [] +# "/etc/local-COMMON/ejabberd/config.d/xmpp-auth-pam.yml": [] +# "/etc/local-COMMON/ejabberd/config.d/xmpp-muclog.yml": [] hosts: - "jones.dk" - "guest.jones.dk" host_config: + "jones.dk": + auth_password_format: plain + auth_method: pam "guest.jones.dk": +# access: +# c2s: +# - allow: local +# - deny +# register: +# - deny auth_method: anonymous allow_multiple_connections: true anonymous_protocol: both - muc_create: - - allow: admin +# muc_create: +# - allow: admin # listen: # - @@ -40,6 +50,14 @@ host_config: # protocol_options: # - "no_sslv2" # - "no_sslv3" +listen: + - + ip: "127.0.0.1" + port: 5347 + module: ejabberd_service + hosts: + "irc.jones.dk": + password: "rastrescrapensmi" # modules: # mod_http_upload: diff --git a/ejabberd/defs.yml b/ejabberd/defs.yml index a4268cd..bcfb769 100644 --- a/ejabberd/defs.yml +++ b/ejabberd/defs.yml @@ -1,4 +1,4 @@ define_macro: - CERT_PATH: "/etc/ejabberd/jones.dk.pem" - DH_PATH: "/etc/ejabberd/jones.dk.dh.pem" - TURN_IP: "87.104.249.84" + 'CERT_PATH': "/etc/ejabberd/jones.dk.pem" + 'DH_PATH': "/etc/ejabberd/jones.dk.dh.pem" + 'TURN_IP': "87.104.249.84" |