From 9ccf803424b1734622c0f448888b07d2119f08b5 Mon Sep 17 00:00:00 2001 From: Vidar Date: Wed, 30 Aug 2017 00:34:27 +0200 Subject: [PATCH] nginx does not support bcrypt when using auth_basic (#4332) --- 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 57f2a072603..94565b83325 100644 --- a/registry/recipes/nginx.md +++ b/registry/recipes/nginx.md @@ -146,7 +146,7 @@ Review the [requirements](/registry/recipes/index.md#requirements), then follow 3. Create a password file `auth/nginx.htpasswd` for "testuser" and "testpassword". ```bash - $ docker run --rm --entrypoint htpasswd registry:2 -Bbn testuser testpassword > auth/nginx.htpasswd + $ docker run --rm --entrypoint htpasswd registry:2 -bn testuser testpassword > auth/nginx.htpasswd ``` 4. Copy your certificate files to the `auth/` directory.