loginsrv

Unnamed repository; edit this file 'description' to name the repository.
git clone git@jamesshield.xyz:repos/loginsrv.git
Log | Files | Refs | README | LICENSE

commit 05a8ce7caa2836440867c2edc858d2decdb09cd6
parent 2aeeb79e981fff115da70114d381cbbd937d1cd5
Author: Sebastian Mancke <s.mancke@tarent.de>
Date:   Sun, 20 Nov 2016 15:34:53 +0100

some doku

Diffstat:
Mcaddy/README.md | 17+++++++++++++++++
Acaddy/config.json | 3+++
2 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/caddy/README.md b/caddy/README.md @@ -27,3 +27,20 @@ loginsrv / { backend provider=osiam,endpoint=http://localhost:8080,clientId=example-client,clientSecret=secret } ``` + +### Example caddyfile +``` +127.0.0.1 + +root {$PWD} +browse + +jwt { + path / + allow sub bob +} + +loginsrv / { + backend provider=simple,bob=secret,alice=secret +} +``` diff --git a/caddy/config.json b/caddy/config.json @@ -0,0 +1,3 @@ +{ + "directive" : "loginsrv" +}