nginx

apt-get install nginx-full

apt-get install apache2-utils

htpasswd -nb <username> <password>

server {
   ...
   location /wp-admin {
      auth_basic "Login WordPress";
      auth_basic_user_file /var/www/htpasswd;
}