Provide an example configuration

This commit is contained in:
Badlop 2015-09-10 11:40:00 +02:00
parent c12e225e88
commit 31f19239d7
1 changed files with 11 additions and 0 deletions

View File

@ -47,6 +47,17 @@ properly. The following options can be set in `auth_opts` in
* `path_prefix` (optional, default: `"/"`) - a path prefix to be
inserted between `host` and method name; must be terminated with `/`
Example configuration:
```
auth_method: http
auth_opts:
host: "http://localhost:12000"
connection_pool_size: 10
connection_opts: []
basic_auth: ""
path_prefix: "/"
```
## SCRAM support
`ejabberd_auth_http` can use the SCRAM method. When SCRAM is enabled,