Hi,
Im new to this but I used shell to run this command:
cd /etc/nginx
htpasswd -b htpass user temp
Then in my config I have this:
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/htpasswd;
When I go to my site I see the login box but using the "user / temp" credentials dont work. Can someone explain what I am doing wrong please?
James
Edited 1 time(s). Last edit at 06/13/2012 08:12AM by spadez.