Page loading is very slow with ngx_http_auth_pam_module

Cumali Ceylan cumali.ceylan at
Thu May 11 11:48:02 UTC 2017


I built nginx with ngx_http_auth_pam_module, setup linux-pam for local 
passwords with pam_unix module and setup nginx to use this pam config. 
Linux-pam config file is below:

auth        sufficient nullok
account   required

When I did this, loading of page is very slow. If i remove this config 
and simply setup nginx for basic authentication (with auth_basic), page 
loading is again turns to normal.

Is there anyone who observed same thing with me ? Any information will 
be helpful.

Kind regards,
Cumali Ceylan

More information about the nginx mailing list