407ca5d85e
from Wiktor Izdebski (MAINTAINER)
55 lines
1.7 KiB
Plaintext
55 lines
1.7 KiB
Plaintext
$OpenBSD: patch-src_ejabberd_cfg_example,v 1.2 2009/03/06 09:19:13 jasper Exp $
|
|
--- src/ejabberd.cfg.example.orig Wed Jan 14 10:54:15 2009
|
|
+++ src/ejabberd.cfg.example Thu Feb 26 11:36:23 2009
|
|
@@ -114,7 +114,7 @@
|
|
%% certificate, put the correct path to the
|
|
%% file and uncomment this line:
|
|
%%
|
|
- %%{certfile, "/path/to/ssl.pem"}, starttls,
|
|
+ {certfile, "${SYSCONFDIR}/ejabberd/myserver.pem"}, starttls,
|
|
|
|
{access, c2s},
|
|
{shaper, c2s_shaper},
|
|
@@ -124,12 +124,12 @@
|
|
%%
|
|
%% To enable the old SSL connection method in 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, "${SYSCONFDIR}/ejabberd/myserver.pem"}, tls,
|
|
+ {max_stanza_size, 65536}
|
|
+ ]},
|
|
|
|
{5269, ejabberd_s2s_in, [
|
|
{shaper, s2s_shaper},
|
|
@@ -160,18 +160,18 @@
|
|
%% Allowed values are: true or false.
|
|
%% You must specify a certificate file.
|
|
%%
|
|
-%%{s2s_use_starttls, true}.
|
|
+{s2s_use_starttls, true}.
|
|
|
|
%%
|
|
%% s2s_certfile: Specify a certificate file.
|
|
%%
|
|
-%%{s2s_certfile, "/path/to/ssl.pem"}.
|
|
+{s2s_certfile, "${SYSCONFDIR}/ejabberd/myserver.pem"}.
|
|
|
|
%%
|
|
%% domain_certfile: Specify a different certificate for each served hostname.
|
|
%%
|
|
-%%{domain_certfile, "example.org", "/path/to/example_org.pem"}.
|
|
-%%{domain_certfile, "example.com", "/path/to/example_com.pem"}.
|
|
+%%{domain_certfile, "example.org", "${SYSCONFDIR}/ejabberd/example_org.pem"}.
|
|
+%%{domain_certfile, "example.com", "${SYSCONFDIR}/ejabberd/example_com.pem"}.
|
|
|
|
%%
|
|
%% S2S whitelist or blacklist
|