AuthBasic Module

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.

Daryl