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