http: middlewares: dashboard-basicauth: basicauth: users: - "traefik:$apr1$XDijc7ic$RofeDix3G.lYtoomdQ6TD." dashboard-mw-chain: chain: middlewares: - "gzip-compress" - "dashboard-basicauth" routers: dashboard-web: entrypoints: web rule: "Host(`localhost`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))" service: "api@internal" middlewares: - "dashboard-mw-chain"