From 31f19239d7883393012eba9647eb70f59fca49c0 Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 10 Sep 2015 11:40:00 +0200 Subject: [PATCH] Provide an example configuration --- ejabberd_auth_http/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ejabberd_auth_http/README.md b/ejabberd_auth_http/README.md index 24ba32f..df053c5 100644 --- a/ejabberd_auth_http/README.md +++ b/ejabberd_auth_http/README.md @@ -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,