Hello @wiliiwin
Where/what file did you define this in?
How did you include it in your traefik instance?
docker run -d -p 8080:8080 -p 80:80 \
-v $PWD/traefik.yml:/etc/traefik/traefik.yml \
-v /var/run/docker.sock:/var/run/docker.sock \
traefik:v2.2
My traefik instance is started with a container
Hi @wiliiwin
You only define a static config file in your docker run command. Middlewares are defined in dynamic configuration.
If this middleware is defined in traefik.yml it will not work. You would need to create a file provider and put this definition in that file.
As you are defining it in a file provider and using it in another provider set it as latency-check@file.
Thank you very much. I have solved the problem





