-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auth support for web backend #891
Comments
I've tried using the example from the docs. Still doesn't work. users = ["test:traefik:a2688e031edb4be6a3797f3882655c05 ", "test2:traefik:518845800f9e2bfb1f1f740ec24f074e"] |
You are taking the example of the digest auth, not basic:
|
From the docs:
|
Oops, there is a typo indeed:
|
Yes, I had tried this, but it does not work. The docs example with basic auth does not work either. The web ui opens with asking for a password in both cases. |
@opichon I just tested it and it works. What do you have in your DEBUG logs? |
I see this line:
Doesn't sound right. My config includes: [web]
address = ":8080"
[web.auth.basic]
users = ["test:$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/", "test2:$apr1$d9hr9HBB$4HxwgUir3HP4EsggP/QNo0"] |
Can give us ALL your logs? |
Sorry, no, not on a public platform like github. I'll try and setup a test environment and send you the logs and config for that. |
|
|
Server is Ubuntu 16.04 running docker 1.12.2. Traefik is run using docker-compose with this config:
The other containers are started using a separate docker-compose config, but on the same network. |
@opichon You don't have to use args if you use a TOML file. |
It works if I remove the following arguments: However, if I remove the Anyway, this issue (auth in backend) is resolved. May thanks. |
I also struggled a little bit with that issue. Thank you for the tip. |
This does not seem to work.
I've added this section to the
traefik.toml
config:The traefik web ui is displayed without asking for a password.
The text was updated successfully, but these errors were encountered: