]>
Commit | Line | Data |
---|---|---|
0e757c06 JK |
1 | --- ejabberd-2.0.0/src/ejabberd.cfg.example.orig 2008-02-21 11:02:12.000000000 +0100 |
2 | +++ ejabberd-2.0.0/src/ejabberd.cfg.example 2008-02-22 14:57:55.000000000 +0100 | |
3 | @@ -2,6 +2,12 @@ | |
4 | %%% ejabberd configuration file | |
5 | %%% | |
6 | ||
7 | +%%% This is a setup for working "localhost" server. | |
8 | +%%% To make fully functional world-accessible Jabber server you will need to: | |
9 | +%%% - change 'localhost' everywhere below to your desired Jabber server domain name | |
10 | +%%% - provide SSL certificates and uncomment ssl settings | |
11 | +%%% - modify everything else according to your needs | |
0e77a2e3 | 12 | + |
0e757c06 JK |
13 | %%% The parameters used in this configuration file are explained in more detail |
14 | %%% in the ejabberd Installation and Operation Guide. | |
15 | %%% Please consult the Guide in case of doubts, it is included in | |
4dea86b0 AM |
16 | @@ -155,6 +155,17 @@ |
17 | %% } | |
18 | %% ]}, | |
19 | ||
0e757c06 JK |
20 | + %%To enable more than one you _must_ change port numbers (here and in service's config) |
21 | + %% {5347, ejabberd_service, [{access, all}, | |
4dea86b0 AM |
22 | + %% {hosts, ["icq.localhost", "sms.localhost"], |
23 | + %% [{password, ">secret<"}]}]}, | |
0e757c06 | 24 | + %% {5347, ejabberd_service, [{access, all}, |
4dea86b0 AM |
25 | + %% {host, "gg.localhost", |
26 | + %% [{password, ">secret<"}]}]}, | |
0e757c06 | 27 | + %% {5347, ejabberd_service, [{access, all}, |
4dea86b0 AM |
28 | + %% {hosts, ["ircnet.localhost", "freenode.localhost"], |
29 | + %% [{password, ">secret<"}]}]}, | |
30 | + | |
0e757c06 | 31 | {5280, ejabberd_http, [ |
4dea86b0 AM |
32 | %%{request_handlers, |
33 | %% [ | |
e2a62f83 | 34 | @@ -391,9 +391,9 @@ |
0e757c06 JK |
35 | %% All users are allowed to use MUC service: |
36 | {access, muc, [{allow, all}]}. | |
37 | ||
e2a62f83 | 38 | -%% In-band registration allows registration of any possible username. |
0e757c06 | 39 | -%% To disable in-band registration, replace 'allow' with 'deny'. |
0e77a2e3 | 40 | -{access, register, [{allow, all}]}. |
e2a62f83 AM |
41 | +%% In-band registration disabled. |
42 | +%% To enable in-band registration, replace 'deny' with 'allow'. | |
62583bb3 | 43 | +{access, register, [{deny, all}]}. |
0e77a2e3 | 44 | |
0e757c06 JK |
45 | %% Everybody can create pubsub nodes |
46 | {access, pubsub_createnode, [{allow, all}]}. |