Doc: improve basic auth middleware httpasswd example
This commit is contained in:
parent
6fcea91d1f
commit
06fc2c505f
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ The BasicAuth middleware restricts access to your services to known users.
|
|||
#
|
||||
# Note: when used in docker-compose.yml all dollar signs in the hash need to be doubled for escaping.
|
||||
# To create user:password pair, it's possible to use this command:
|
||||
# echo $(htpasswd -nb user password) | sed -e s/\\$/\\$\\$/g
|
||||
# echo $(htpasswd -nB user) | sed -e s/\\$/\\$\\$/g
|
||||
#
|
||||
# Also note that dollar signs should NOT be doubled when they not evaluated (e.g. Ansible docker_container module).
|
||||
labels:
|
||||
|
|
Loading…
Reference in a new issue