BasicAuth for 2.2.8 is doing nothing

  • This is documentation on how to attach middlewares to you router.
  • For specifying via docker labels, see this handy reference.
  • This is a docker specific section on middlewares
  • Under Routers section you will see another example of attaching middlewares, if you click on it.

Unless you attach a middleware to a router, the middleware will do nothing, since there is nothing to call it.