If you are using Windows based systems in a heterogeneous environment, in all probability you must use Kerberos as your authentication protocol. In situations where we are deploying a site internally it may be useful to handle web authentication with Kerberos. Nginx has the solution for this, as it has a module that lets you authenticate the user using Kerberos.
This recipe will take a look at how you can protect a particular web location using HTTP authentication using Kerberos as the backend. This is a highly experimental plugin, and only useful when you do not have an alternative to this form of authentication in your network.
In this recipe, we first install the plugin and then configure Nginx to use it in the following steps.
We will first install the Nginx Kerberos module:
git clone
https://github.com/mike503/spnego-http-auth-nginxmodule.git
cd nginx ,/configure –add-module=../spnego-http-auth-nginx-module make make installNow...