nginx does not support bcrypt when using auth_basic (#4332)
This commit is contained in:
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".
|
3. Create a password file `auth/nginx.htpasswd` for "testuser" and "testpassword".
|
||||||
|
|
||||||
```bash
|
```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.
|
4. Copy your certificate files to the `auth/` directory.
|
||||||
|
Loading…
Reference in New Issue
Block a user