From 55aec8a4f7ef4148fb9a6736f146aba7edfd8857 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) --- docs/recipes/nginx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/recipes/nginx.md b/docs/recipes/nginx.md index 7708ed38..4647cc6c 100644 --- a/docs/recipes/nginx.md +++ b/docs/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