AuthBasic Module

Daryl daryl at
Wed Apr 28 07:16:02 MSD 2010

Currently have set up on my server Auth basic with the following config

location ^~/eng/photos {
auth_basic	"Please Login";
auth_basic_user_file  /etc/nginx/passwords;

Even though it does work, using openssl to encrypt passwords, how do I enable it so that 
login is required everytime a user access's that page. It only authenticates the first time.


More information about the nginx mailing list