Basic authentication
How to generate password with traefik label
- "traefik.http.routers.dashboard2.middlewares=auth_xxx" - "traefik.http.middlewares.auth_xxx.basicauth.users=myuser:mypassword_encoded"
Generating the password with this command (change the username)
echo $(htpasswd -nB myuser) | sed -e s/\\$/\\$\\$/g
No Comments