mirror of https://github.com/docker/docs.git
nginx does not support bcrypt when using auth_basic (#4332)
This commit is contained in:
parent
9a1330e966
commit
9ccf803424
|
@ -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