Provide minimal mod_bosh configuration example

This commit is contained in:
Badlop 2020-05-09 14:57:38 +02:00
parent d88a32992a
commit 2001540143
1 changed files with 14 additions and 1 deletions

View File

@ -260,7 +260,20 @@ mod_doc() ->
{cache_life_time,
#{value => "timeout()",
desc =>
?T("Same as top-level 'cache_life_time' option, but applied to this module only.")}}]}.
?T("Same as top-level 'cache_life_time' option, but applied to this module only.")}}],
example =>
["listen:",
" -",
" port: 5222",
" module: ejabberd_c2s",
" -",
" port: 5443",
" module: ejabberd_http",
" request_handlers:",
" /bosh: mod_bosh",
"",
"modules:",
" mod_bosh: {}"]}.
%%%----------------------------------------------------------------------
%%% Cache stuff