You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
describes how to generate a BasicAuth password. The above method does not work as Traefik basicuth explains:
# 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.md with the above note on escaping the $ dollar signs in the password by adding the echo-sed.
env.example with a password generated by: echo $(htpasswd -nb user pass) | sed -e s/\$/\$\$/g
The text was updated successfully, but these errors were encountered:
Escape
$
Dollar-signs in BasicAuth PasswordContext
traefik-docker-compose/README.md
Line 15 in b38d545
Request to update
Readme.md
with the above note on escaping the$
dollar signs in the password by adding theecho-sed
.env.example
with a password generated by:echo $(htpasswd -nb user pass) | sed -e s/\$/\$\$/g
The text was updated successfully, but these errors were encountered: