1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
$NetBSD: patch-ad,v 1.5 2010/03/13 21:05:49 fhajny Exp $
--- src/ejabberd.cfg.example.orig 2010-03-12 10:40:41.000000000 +0000
+++ src/ejabberd.cfg.example
@@ -109,7 +109,6 @@
[
{5222, ejabberd_c2s, [
-
%%
%% If TLS is compiled in and you installed a SSL
%% certificate, specify the full path to the
@@ -125,12 +124,12 @@
%%
%% To enable the old SSL connection method on port 5223:
%%
- %%{5223, ejabberd_c2s, [
- %% {access, c2s},
- %% {shaper, c2s_shaper},
- %% {certfile, "/path/to/ssl.pem"}, tls,
- %% {max_stanza_size, 65536}
- %% ]},
+ {5223, ejabberd_c2s, [
+ {access, c2s},
+ {shaper, c2s_shaper},
+ {certfile, "/path/to/ssl.pem"}, tls,
+ {max_stanza_size, 65536}
+ ]},
{5269, ejabberd_s2s_in, [
{shaper, s2s_shaper},
@@ -140,10 +139,10 @@
%%
%% ejabberd_service: Interact with external components (transports, ...)
%%
- %%{8888, ejabberd_service, [
+ %%{{8888, "127.0.0.1"},
+ %% ejabberd_service, [
%% {access, all},
%% {shaper_rule, fast},
- %% {ip, {127, 0, 0, 1}},
%% {hosts, ["icq.example.org", "sms.example.org"],
%% [{password, "secret"}]
%% }
@@ -471,7 +470,7 @@
%%
%% Full path to a script that generates the image.
%%
-%%{captcha_cmd, "/lib/ejabberd/priv/bin/captcha.sh"}.
+%%{captcha_cmd, "@PREFIX@/lib/erlang/lib/@DISTNAME@/priv/bin/captcha.sh"}.
%%
%% Host part of the URL sent to the user.
|