-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Escape $ Dollar-signs in BasicAuth Password
Context
traefik-docker-compose/README.md
Line 15 in b38d545
| 3. To generate a new `username:password`, use `htpasswd -nb user pass`, then copy user to `DASHBOARD_USER` and pass to `DASHBOARD_PASSWORD` in .env file |
# 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) | sed -e s/\\$/\\$\\$/g
Request to update
Readme.mdwith the above note on escaping the$dollar signs in the password by adding theecho-sed.env.examplewith a password generated by:echo $(htpasswd -nb user pass) | sed -e s/\$/\$\$/g
Metadata
Metadata
Assignees
Labels
No labels