Created
January 16, 2015 16:46
-
-
Save atomtigerzoo/2dd0ce707c567ec4b5bd to your computer and use it in GitHub Desktop.
Create .htpasswd for nginx without Apache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Replace USERNAME with your wished login-username and hit enter: | |
printf "USERNAME:`openssl passwd -apr1`\n" >> .htpasswd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment