samizdatco/nginx-http-auth-digest — Issue #9: Endless password prompt on / request
Author: conf
Created: 2011-12-18 09:22:17+00:00
State: open

If I just ask / of the domain, say, `http://localhost:8000/` and `auth_digest` is set in `server` level, nginx just endlessly asks for password, nevertheless it is correct or not.
Nginx.conf looks like this:

server {
listen 8000;
server_name localhost;
location / {
root html;
index index.html index.htm;
}
auth_digest_user_file /usr/local/nginx/passwd.digest;
auth_digest 'this is not for you';
}