Ldap authentication through nginx ingress controller
I used the nginx login controller in kubernates where I used a custom nginx template file to have the settings for ldap authentication by defining the ldap_server directive. While running the yaml file of the nginx controller, I get the below error.
Unknown directive ldap_server in nginx.templ file.
I searched the internet for this and found that it can be solved by installing a third party module in nginx as shown below.
./configure --add-module=path_to_http_auth_ldap_module.
But how can this be done using the nginxingress controller, since it does not give direct access to the nginx configuration.
+3
source to share