From 8f27eeac35762ae7fda30b4fcbcf01ce72258aa3 Mon Sep 17 00:00:00 2001 From: Pieter Scheffers Date: Fri, 23 Jun 2017 00:59:24 +0200 Subject: [PATCH] htpasswd passwords should use bcrypt hashing (#3401) --- registry/recipes/nginx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/recipes/nginx.md b/registry/recipes/nginx.md index 7708ed388e..4647cc6ced 100644 --- a/registry/recipes/nginx.md +++ b/registry/recipes/nginx.md @@ -154,7 +154,7 @@ EOF Now create a password file for "testuser" and "testpassword" ``` -docker run --rm --entrypoint htpasswd registry:2 -bn testuser testpassword > auth/nginx.htpasswd +docker run --rm --entrypoint htpasswd registry:2 -Bbn testuser testpassword > auth/nginx.htpasswd ``` Copy over your certificate files