diff options
author | Alexey Shchepin <alexey@process-one.net> | 2004-08-22 21:54:14 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2004-08-22 21:54:14 +0000 |
commit | 4103f30812ed99c984a2fdb16aabca139c9255d7 (patch) | |
tree | 449c3946ebd1e8c040656e119c4276e2d2d9cb00 /src/win32/ejabberd.cfg | |
parent | * src/msgs/nl.msg: Updated (thanks to Sander Devrieze) (diff) |
* src/mod_offline.erl: Added entire table locking on large message
queue
* src/ejabberd_sm.erl: Added offline_subscription_hook
* src/mod_offline.erl: Use offline_subscription_hook
* src/configure.erl: Updated (thanks to Sergei Golovan)
* src/Makefile.win32: Likewise
* src/tls/Makefile.win32: Likewise
* src/win32/: Likewise
* src/mod_announce.erl: Added announce to all users (thanks to
Sergei Golovan)
* doc/guide.tex: Updated (thanks to Sergei Golovan)
SVN Revision: 259
Diffstat (limited to '')
-rw-r--r-- | src/win32/ejabberd.cfg | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/src/win32/ejabberd.cfg b/src/win32/ejabberd.cfg index b4fdeb0d8..237761e5f 100644 --- a/src/win32/ejabberd.cfg +++ b/src/win32/ejabberd.cfg @@ -85,14 +85,35 @@ % Host name: {host, "localhost"}. +% Default language: +{language, "en"}. % Listened ports: {listen, - [{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper}]}, -% {5223, ejabberd_c2s, [{access, c2s}, ssl, {certfile, "./ssl.pem"}]}, + [ + {5222, ejabberd_c2s, [{access, c2s}, + {shaper, c2s_shaper}]}, + +% To create selfsigned certificate run the following command form the +% command prompt: +% +% openssl req -new -x509 -days 365 -nodes -out ejabberd.pem -keyout ejabberd.pem +% +% and answer the questions. +% {5222, ejabberd_c2s, [{access, c2s}, +% starttls, {certfile, "./ejabberd.pem"} +% {shaper, c2s_shaper}]}, + +% When using SSL/TLS ssl option is not recommended (it requires patching +% erlang ssl application). Use tls option instead (as shown below). +% {5223, ejabberd_c2s, [{access, c2s}, +% tls, {certfile, "./ejabberd.pem"}]}, + {5269, ejabberd_s2s_in, [{shaper, s2s_shaper}]}, + % {5555, ejabberd_service, [{access, all}, % {host, "icq.localhost", [{password, "secret"}]}]}, + {5280, ejabberd_http, [http_poll, web_admin]} ]}. @@ -111,6 +132,7 @@ {mod_stats, []}, {mod_vcard, []}, {mod_offline, []}, + {mod_announce, [{access, announce}]}, {mod_private, []}, {mod_irc, []}, {mod_muc, []}, |