Install htpasswd: apt update & apt install apache2-utils Create password hash for user admin with traefik basicauth echo $(htpasswd -nB admin) | sed -e s/\\$/\\$\\$/g Enter and confirm password to hash