diff options
author | Badlop <badlop@process-one.net> | 2020-05-09 14:57:38 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2020-05-09 15:04:10 +0200 |
commit | 200154014398e20c14510bb6e938c85b8ed72e5e (patch) | |
tree | f9dcd58c4b79e3a4d87fb06b939b6ded109ac63b /src | |
parent | Add link in acme option to ACME section in ejabberd Docs (diff) |
Provide minimal mod_bosh configuration example
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_bosh.erl | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/mod_bosh.erl b/src/mod_bosh.erl index f4a717b29..b86a67728 100644 --- a/src/mod_bosh.erl +++ b/src/mod_bosh.erl @@ -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 |