Nginx Config Help - Cant password protect
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";
authbasicuser_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
1 Reply
-Tim