location / {
auth_basic "Access limited";
auth_basic_user_file /nginx/auth/accesslist.txt;
[...]
}
auth_basic "Access limited";
auth_basic_user_file /nginx/auth/accesslist.txt;
[...]
}