-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Description
Traefik 1.7 introduced auth support for front-ends.
It can be achieved by using the following label:
# Sets basic authentication for that frontend in CSV format: User:Hash,User:Hash [2]
traefik.frontend.auth.basic=EXPR
[2] traefik.frontend.auth.basic=EXPR: To create user:password pair, it's possible to use this command echo $(htpasswd -nb user password) | sed -e s/\\$/\\$\\$/g. The result will be user:$$apr1$$9Cv/OMGj$$ZomWQzuQbL.3TRCS81A1g/, note additional symbol $ makes escaping.
We should add support for this in config file.