ngx_http_auth_pam_module
ngx_http_auth_pam_module copied to clipboard
Add variable expansion support to 'realm'
With "realm" supporting variable expansion, it becomes possible to conditionally disable PAM based authentication when some other conditions are valid. Typically, this allows to support both certificate based authentication for internal services while falling back on PAM based authentication for humans.
This commit is based on upstream Nginx basic auth implementation.