DevOps Handler

The goal of this handler is to read vhost configuration from the website itself and not in LLNG configuration. Rules and headers are set in a rules.json file available at the root of the website (ie http://website/rules.json). This file looks like:

rules.json
{
  "rules": {
    "^/admin": "$uid eq 'admin'",
    "default": "accept'
  },
  "headers": {
    "Auth-User": "$uid"
  }
}

If this file is not found, a default rule is applied (accept) and 1 header is sent (Auth-User ⇒ $uid)

There is nothing to configure to use it except that:

Note that DevOps handler will refuse to compile rules.json if Safe Jail isn't enabled.

See SSO as a Service for more