NGINX: Creating .htpasswd

PHOTO EMBED

Wed Nov 22 2023 22:32:23 GMT+0000 (Coordinated Universal Time)

Saved by @marcopinero #nginx #ssl

sudo su
printf "<user>:$(openssl passwd -apr1 <your password>)\n" >> /etc/nginx/.htpasswd
content_copyCOPY