Hallo,
I want a login for this location.
location /TEST/ {
alias /www/c2c/;
}
With
location /TEST/ {
alias /www/c2c/;
auth_basic "Test Auth";
}
no username/password box in the browser. I see the index.html site from the c2c folder
With
location /TEST/ {
alias /www/c2c/;
auth_basic "Test Auth";
auth_basic_user_file /nginx/conf/htpasswd;
}
and an "404 Not Found" error shows the browser.
I use nginx 1.7.2
Where is the problem?