Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {acl, admin, {user, "", "localhost"}}.
- {hosts, ["asdf.com", "querty.com"]}.
- {loglevel, 4}.
- {listen,
- [
- {5222, ejabberd_c2s, [
- inet6,
- {access, c2s},
- {shaper, c2s_shaper},
- {max_stanza_size, 65536},
- starttls, {certfile, "/etc/ejabberd/ejabberd.pem"}
- ]},
- {5269, ejabberd_s2s_in, [
- {shaper, s2s_shaper},
- {max_stanza_size, 131072}
- ]},
- {5280, ejabberd_http, [
- http_poll,
- web_admin
- ]}
- ]}.
- {s2s_use_starttls, true}.
- {s2s_certfile, "/etc/ejabberd/ejabberd.pem"}.
- starttls{domain_certfile, 'qwerty.com', '/etc/ejabberd/keys/qwerty.com.pem'}.
- {auth_method, internal}.
- {acl, blocked, {user, "test", "asdf.com"}}.
- {acl, local, {user_regexp, ""}}.
- {access, max_user_sessions, [{3, all}]}.
- {access, local, [{allow, local}]}.
- {access, c2s, [{deny, blocked},
- {allow, all}]}.
- {access, c2s_shaper, [{none, admin},
- {normal, all}]}.
- {access, s2s_shaper, [{fast, all}]}.
- {access, announce, [{allow, admin}]}.
- {access, configure, [{allow, admin}]}.
- {access, muc_admin, [{allow, admin}]}.
- {access, muc, [{allow, all}]}.
- {access, register, [{deny, all}]}.
- {access, pubsub_createnode, [{allow, all}]}.
- {language, "en"}.
- {modules,
- [
- {mod_adhoc, []},
- {mod_announce, [{access, announce}]}, % requires mod_adhoc
- {mod_caps, []},
- {mod_configure,[]}, % requires mod_adhoc
- {mod_ctlextra, []},
- {mod_disco, []},
- {mod_irc, []},
- {mod_last, []},
- {mod_muc, [
- %%{host, "conference.@HOST@"},
- {access, muc},
- {access_create, muc},
- {access_persistent, muc},
- {access_admin, muc_admin},
- {max_users, 100}
- ]},
- {mod_offline, []},
- {mod_privacy, []},
- {mod_private, []},
- {mod_proxy65, [
- {access, local},
- {shaper, c2s_shaper}
- ]},
- {mod_pubsub, [
- {access_createnode, pubsub_createnode},
- {plugins, ["default", "pep"]}
- ]},
- {mod_register, [
- {welcome_message, {"Welcome!",
- "Welcome to a Jabber service powered by Debian. "
- "For information about Jabber visit "
- "http://www.jabber.org"}},
- {access, register}
- ]},
- {mod_roster, []},
- {mod_stats, []},
- {mod_time, []},
- {mod_vcard, []},
- {mod_version, []}
- ]
- }.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement