Created
February 8, 2013 20:46
-
-
Save lehrblogger/4741797 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{hosts, ["example.com"]}. | |
{listen, | |
[ | |
{5222, ejabberd_c2s, [ | |
{access, c2s}, | |
{shaper, c2s_shaper}, | |
{max_stanza_size, 65536}, | |
%%zlib, | |
starttls, {certfile, "/etc/ejabberd/ejabberd.pem"} | |
]}, | |
{5269, ejabberd_s2s_in, [ | |
{shaper, s2s_shaper}, | |
{max_stanza_size, 131072} | |
]}, | |
{5554, ejabberd_service, [ | |
{ip, {127, 0, 0, 1}}, | |
{access, all}, | |
{shaper_rule, fast}, | |
{host, "conference.example.com", [{password, ""}]} | |
]}, | |
{5281, ejabberd_http, [ | |
%%{request_handlers, | |
%% [ | |
%% {["pub", "archive"], mod_http_fileserver} | |
%% ]}, | |
%%captcha, | |
http_bind, | |
http_poll, | |
web_admin | |
]} | |
]}. | |
{s2s_use_starttls, false}. | |
{s2s_default_policy, allow}. | |
%% Admins of this server are also admins of MUC service: | |
{access, muc_admin, [{allow, admin}]}. | |
%% All users are allowed to use MUC service: | |
{access, muc, [{allow, all}]}. | |
{modules, | |
[ | |
{mod_muc, [ | |
{host, "conference.example.com"}, | |
{access, muc}, | |
{access_create, muc}, | |
{access_persistent, muc}, | |
{access_admin, muc_admin}, | |
{max_users, 500} | |
]} | |
]}. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment