1
0
mirror of https://github.com/distribution/distribution synced 2024-11-06 19:35:52 +01:00

nginx does not support bcrypt when using auth_basic (#4332)

This commit is contained in:
Vidar 2017-08-30 00:34:27 +02:00 committed by Misty Stanley-Jones
parent 90a402d946
commit e4f126c10e

@ -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.