summaryrefslogtreecommitdiff
path: root/ejabberd
diff options
context:
space:
mode:
Diffstat (limited to 'ejabberd')
-rw-r--r--ejabberd/addons.yml30
-rw-r--r--ejabberd/defs.yml6
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"