我用ngx_http_auth_pam_module构build了Nginx,并编辑了Nginxconfiguration,并编辑了/etc/pam.d/nginx
部分虚拟主机设置
location / { root /projects/admin; index index.html index.htm; auth_pam "Google Authenticator Code Required"; auth_pam_service_name "nginx"; }
/etc/pam.d/nginx
auth required pam_google_authenticator.so
为什么我无法通过Google身份validation器进行授权? 请帮帮我。