DevOps Handler
This Handler is designed to retrieve VHost configuration from the website
itself, not from LL:NG configuration. Rules and headers are set in a
rules.json file stored at the website root directory (ie
http://website/rules.json). This file looks like:
{
"rules": {
"^/admin": "$uid eq 'admin'",
"default": "accept"
},
"headers": {
"Auth-User": "$uid"
}
}
If this file is not found, the default rule “accept” is applied and just “Auth-User” header is sent (Auth-User => $uid).
No specific configuration is required except that:
you have to select
DevOpshandler type either withVHOSTTYPEenvironment variable or in VHost optionsyou can set in VHost options the loopback URL requested by the DevOps handler to retrieve
/rules.jsonor useRULES_URLenvironment variable to set JSON file location. Default tohttp://127.0.0.1:<server-port>HTTPS or redirection port can be set by using
HTTP_REDIRECTorPORT_REDIRECTenvironment variables.
Attention
Note that DevOps handler will not compile rules.json if Safe Jail is not enabled.
See SSO as a Service for more.