Extension
nginx 인증 모듈 연동하기(with LDAP)
오늘은 nginx에 인증 모듈을 추가하는 작업을 진행하였고 그중에서도 ldap을 연동하는 과정에 대해서 정리를 진행합니다. nginx 인증이란, nginx를 통해서 특정 페이지로 이동할 때, 로그인과 같은 인증과정을 nginx에서 처리할 수 있도록 하는 과정입니다. 인증을 위한 방법에는 여러가지가 존재하는데 그중에서도 LDAP을 통하여 인증과정을 진행하도록 하겠습니다. 우선, nginx를 통해서 인증을 진행하려면 nginx를 설치해야 됩니다.
https://real-dongsoo7.tistory.com/130
Nginx ldap auth login by different attributes
I need to configure nginx to sign in by two kinds dn : cn=appname,ou=Applications,o=example.com uid=username,ou=People,o=example.com Here is piece of code for ldap server: ldap_server ldapserver { url ldaps://ldap.example.com/o=example.com?uid,cn?sub?(..filter for search...) } However, only username can be signed in, appname can't. But if I switch the position of uid and cn for that url, like url ldaps://ldap.example.com/o=example.com?cn,uid?sub?(..filter for search...)
https://stackoverflow.com/questions/30931734/nginx-ldap-auth-login-by-different-attributes
native nginx plus
Using NGINX Plus and NGINX to Authenticate Users with LDAP
Customers frequently ask us how they can use NGINX Plus and NGINX to secure protected resources or applications by authenticating the users who request them. Today we're announcing a reference implementation of such an authentication system, and making it available in the NGINX, Inc. repository on GitHub.
https://www.nginx.com/blog/nginx-plus-authenticate-users/

nginx-ldap-auth
nginxinc • Updated 2023 Aug 23 7:9
Docker
Docker Hub
https://hub.docker.com/r/bitnami/nginx-ldap-auth-daemon/
Docker Hub
https://hub.docker.com/r/weseek/nginx-auth-ldap

Seonglae Cho