Created attachment 331310 [details, diff] diff -u /usr/{,local/}portage/www-servers/nginx/nginx-1.2.5.ebuild Out of the box, nginx lacks support for many authentications except for that against a htpasswd file. The 3rd party module called ngx_http_auth_pam_module (2-clause BSD license) adds support for authentication against PAM (which can be set up to authenticate against LDAP, in particular). I propose an ebuild which includes this module.
Please, merge it!
added to nginx-{1.2.6-r1,1.3.11}