mirror of
https://github.com/containous/traefik.git
synced 2025-02-03 13:47:11 +03:00
Doc: improve basic auth middleware httpasswd example
This commit is contained in:
parent
6fcea91d1f
commit
06fc2c505f
@ -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…
x
Reference in New Issue
Block a user