Update nginx.md (#4187)

This commit is contained in:
Milos Gajdos 2023-12-11 17:26:26 +00:00 committed by GitHub
commit 514da7ce0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,7 +151,7 @@ Review the [requirements](../#requirements), then follow these steps.
3. Create a password file `auth/nginx.htpasswd` for "testuser" and "testpassword". 3. Create a password file `auth/nginx.htpasswd` for "testuser" and "testpassword".
```console ```console
$ docker run --rm --entrypoint htpasswd registry:2 -Bbn testuser testpassword > auth/nginx.htpasswd $ docker run --rm --entrypoint htpasswd httpd -Bbn testuser testpassword > auth/nginx.htpasswd
``` ```
> **Note**: If you do not want to use `bcrypt`, you can omit the `-B` parameter. > **Note**: If you do not want to use `bcrypt`, you can omit the `-B` parameter.