autenticacion por navegador:

apt-get install apache2-utils

htpasswd -c /etc/nginx/conf.d/pepito.htpasswd

systemctl restart nginx