Hello, I previously set up auth on most of my wordpress websites (all on separate vhost files). It worked successfully but once I removed the following from each vhost I am still getting prompted to enter a username and password. Anyone have a clue on why this is happening?
#Password Protect The WordPress Admin Folder
location ^~ /wp-admin{
auth_basic "Restricted Access";
auth_basic_user_file /usr/local/nginx/.htpasswd;
}
#Password Protect The WordPress Admin Folder
location ^~ /wp-admin{
auth_basic "Restricted Access";
auth_basic_user_file /usr/local/nginx/.htpasswd;
}