Auth PAM#
The module adds support for PAM authentication. Load the module in the As an example, to authenticate users via an LDAP server (using the Detailed documentation and source code are available at:
sto/ngx_http_auth_pam_moduleLoading the module#
main{}
context:load_module modules/ngx_http_auth_pam_module.so;
Configuration example#
location /secure {
auth_pam "Secure Zone";
auth_pam_service_name "angie";
}
pam_ldap.so
module), the /etc/pam.d/angie
file may contain:auth required /lib/security/pam_ldap.so
account required /lib/security/pam_ldap.so
Additional information#