From 176296d2b841b42eee2b7899046b75093ba71109 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 26 Jan 2017 15:00:49 +0100 Subject: Add ejabberd snippets. --- ejabberd/addons.yml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ ejabberd/defs.yml | 4 ++++ 2 files changed, 51 insertions(+) create mode 100644 ejabberd/addons.yml create mode 100644 ejabberd/defs.yml (limited to 'ejabberd') diff --git a/ejabberd/addons.yml b/ejabberd/addons.yml new file mode 100644 index 0000000..7f2bd83 --- /dev/null +++ b/ejabberd/addons.yml @@ -0,0 +1,47 @@ +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": [] + +hosts: + - "jones.dk" + - "guest.jones.dk" + +host_config: + "guest.jones.dk": + auth_method: anonymous + allow_multiple_connections: true + anonymous_protocol: both + muc_create: + - allow: admin + +# listen: +# - +# port: 5443 +# ip: "::" +# module: ejabberd_http +# request_handlers: +# "/websocket": ejabberd_http_ws +# "/pub/archive": mod_http_fileserver +# "/pub/muclogs": mod_muc_log_http +# "/upload": mod_http_fileserver +# web_admin: false +# http_poll: false +# http_bind: true +# ## register: true +# captcha: false +# tls: true +# certfile: "/etc/ejabberd/jones.dk.pem" +# tls_compression: false +# dhfile: "/etc/ejabberd/jones.dk.dh.pem" +# ciphers: "HIGH:!MEDIUM:!LOW:!3DES:!CAMELLIA:!aNULL:!RSA@STRENGTH" +# inet6: true +# protocol_options: +# - "no_sslv2" +# - "no_sslv3" + +# modules: +# mod_http_upload: +# docroot: "/var/ejabberd-http-upload/" +# put_url: "https://chat.jones.dk:5443/upload" diff --git a/ejabberd/defs.yml b/ejabberd/defs.yml new file mode 100644 index 0000000..20e494d --- /dev/null +++ b/ejabberd/defs.yml @@ -0,0 +1,4 @@ +define_macro: + CERT_PATH: "/etc/ejabberd/jones.dk.pem" + DH_PATH: "/etc/ejabberd/jones.dk.dh.pem" + TURN_IP: "188.183.5.254" -- cgit v1.2.3