http Authentication for nginx
location / { auth_basic "Basic Auth"; auth_basic_user_file "/var/www/.htpasswd"; }