Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Auth - How To Shut Off

$
0
0
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;
}

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>