Attach 2 middlewares to the router?

Hello,

the syntax to apply multiple middleware is the following:

- "traefik.http.routers.portainer.middlewares=portainer-auth,portainer-stripprefix"

The Docker labels are a map (in Docker) so the keys must be unique.

2 Likes