In a previous article we already presented a modified nginx ebuild containing support for gnosek’s Upstream Fair Proxy Load Balancer. Now, we wanted to have HTTP-Auth against a LDAP server. So we crawled the almighty internet and stumbled over nginx-auth-ldap. Therefore, we updated our last ebuild and extended it with this plugin.
As documentation there is only a small config example. However, anyone who already is familiar with HTTP-Auth against LDAP with Apache and/or Lighttpd will find this extension pretty straight-forward.
Here you can have a look at the ebuild and there is the SVN checkout path.
The new USE flag is called auth_ldap, gnosek’s plugin can be used with upstream_fair. Add them to your NGINX_MODULES_HTTP in /etc/make.conf
Have a lot of fun!