location %AUTH_BASIC_LOCATION% { auth_basic "%AUTH_BASIC_TEXT%"; auth_basic_user_file /etc/nginx/.htpasswd; }