summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ejabberd/addons.yml47
-rw-r--r--ejabberd/defs.yml4
2 files changed, 51 insertions, 0 deletions
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"