# HG changeset patch # User Kim Alvefur # Date 1520636687 -3600 # Node ID d2d0715f30d93ea11dadc789d0a265b9fda67410 # Parent cd5e6534b813c7fb22b2efba12813052edb7b4e9 mod_conversejs/README: Expand config section diff -r cd5e6534b813 -r d2d0715f30d9 mod_conversejs/README.markdown --- a/mod_conversejs/README.markdown Fri Mar 09 21:58:47 2018 +0100 +++ b/mod_conversejs/README.markdown Sat Mar 10 00:04:47 2018 +0100 @@ -17,14 +17,35 @@ Configuration ============= -The module itself has no configuration. It uses -[authentication settings][doc:authentication] to determine whether to -configure Converse.js to use `login` or `anonymous` mode. +The module uses general Prosody options for basic configuration. It +should just work after loading it. + +``` {.lua} +modules_enabled = { + -- other modules... + "conversejs"; +} +``` + +Authentication +-------------- -It also determines the [BOSH][mod_bosh] and [WebSocket][mod_websocket] -URL automatically, see their respective documentation for how to configure -them. +[Authentication settings][doc:authentication] are used determine +whether to configure Converse.js to use `login` or `anonymous` mode. + +Connection methods +------------------ -See Prosodys [HTTP configuration][doc:http] for HTTP related options. +It also determines the [BOSH][mod_bosh] and +[WebSocket][mod_websocket] URL automatically, see their respective +documentation for how to configure them. Both connection methods are +loaded automatically. + +HTTP +---- + +See Prosodys [HTTP configuration][doc:http] for HTTP related +options. +