server { listen 80; location / { auth_basic "Fieldnotes lab"; auth_basic_user_file /etc/nginx/.htpasswd; root /usr/share/nginx/html; index index.html; } }