Skip to content

Commit

Permalink
Apply review changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored and traefiker committed Jan 20, 2020
1 parent a40c0f7 commit 5b36c5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/middlewares/basicauth.md
Expand Up @@ -90,7 +90,7 @@ The `users` option is an array of authorized users. Each user will be declared u
# Declaring the user list
#
# Note: all dollar signs in the hash need to be doubled for escaping.
# To create user:password pair, it's possible to use this command:
# To create a user:password pair, the following command can be used:
# echo $(htpasswd -nb user password) | sed -e s/\\$/\\$\\$/g
labels:
- "traefik.http.middlewares.test-auth.basicauth.users=test:$$apr1$$H6uskkkW$$IgXLP6ewTrSuBkTrqE8wj/,test2:$$apr1$$d9hr9HBB$$4HxwgUir3HP4EsggP/QNo0"
Expand All @@ -108,7 +108,7 @@ spec:

---
# Note: in a kubernetes secret the string (e.g. generated by htpasswd) must be base64-encoded first.
# To create user:password pair, it's possible to use this command:
# To create an encoded user:password pair, the following command can be used:
# htpasswd -nb user password | openssl base64

apiVersion: v1
Expand Down

0 comments on commit 5b36c5b

Please sign in to comment.