Basic authentication not working with file provider

I want to add basic authentication to the dashboard and tried using the examples from the docs. But unable to get it working, in fact, the dashboard is not at all showing up. Please help me.


    debug = true
    dashboard = true
    level = "DEBUG"

        directory = "dyn/"
        watch = true


  rule = "PathPrefix(`/api`) || PathPrefix(`/dashboard`)"
  service = "api@internal"
  middlewares = ["auth"]

  users = [

@ldez Please help!

Works for me verbatim. How are you invoking traefik ?

Fixed. I need to add

    address = ":8080"

to the config.toml.