Auth PAM#
The module adds support for PAM authentication. To install the module, use one of the following packages: Angie: Angie PRO: 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_moduleInstallation#
angie-module-auth-pam
angie-pro-module-auth-pam
Loading 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#