Skip to content

Instantly share code, notes, and snippets.

@atomtigerzoo
Created January 16, 2015 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atomtigerzoo/2dd0ce707c567ec4b5bd to your computer and use it in GitHub Desktop.
Save atomtigerzoo/2dd0ce707c567ec4b5bd to your computer and use it in GitHub Desktop.
Create .htpasswd for nginx without Apache
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