Skip to content

Instantly share code, notes, and snippets.

@chrizk
Last active July 13, 2018 11:55
Show Gist options
  • Save chrizk/7ce3ec3e748a20edb47388cd03afd770 to your computer and use it in GitHub Desktop.
Save chrizk/7ce3ec3e748a20edb47388cd03afd770 to your computer and use it in GitHub Desktop.
Create entry for basic authentication
htpasswd -nb <username> <password>

or

echo <username>:$(openssl passwd -apr1 <password>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment