Skip to content

Instantly share code, notes, and snippets.

@cmmartin
Last active February 10, 2016 16:04
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 cmmartin/47c13203769f9bd187a8 to your computer and use it in GitHub Desktop.
Save cmmartin/47c13203769f9bd187a8 to your computer and use it in GitHub Desktop.
Nginx http auth with htpasswd
auth_basic "Restricted";
auth_basic_user_file /home/dokku/$APP/nginx.conf.d/.htpasswd;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment