Nginx module to use PAM for simple http authentication

Sergio Talens-Oliag sto at
Wed Sep 17 17:55:32 MSD 2008

Hello everybody,

I just wrote my first nginx module and thought it was not a bad idea to share
it with the people on this list.

The module is used to do HTTP Basic Authentication agains PAM instead of using an
htpasswd file.

You can get the source from:

It works well for my setup, but if someone tries it and finds a bug I'ld be
happy to know about it (and try to fix it, of course).



Sergio Talens-Oliag <sto at>       <>
Key fingerprint = FF77 A16B 9D09 FC7B 6656 CFAD 261D E19A 578A 36F2

More information about the nginx mailing list