I am using NGINX in Windows 10 and I tested the auth basic in nginx by adding auth_basic and auth_basic_user_file in the default conf/, Also I used this to create a password file :
htpasswd -c /etc/nginx/.htpasswd admin.
The problem is when I want to disable it.
I have removed auth_basic and auth_basic_user_file, restarted nginx, removed the htpasswd file and restart again and the website is still asking for username and password. I also restarted the server and clear the cache in my browser.
Does anyone has an idea what is happening and how I can get rid of this issue?
Thanks.