htpasswd using openssl

0
If you search online, how to add Basic Authentication to a Nginx site, you will find most articles refer to using htpasswd, which you...