Generating a traefik/nginx password hash without htpasswd

For when you don’t want to install httpd-tools / apache2-utils tl; dr: openssl passwd -apr1 | sed -E “s:[\$]:\$\$:g” (traefik) openssl passwd -apr1 (nginx) Explanations below. Generating a Hash Traefik does basic auth as a middleware. For this you need a password hash. The docs suggest using htpasswd, (eg like htpasswd -nbB), which is grand […]

Continue Reading