# New to traefik! I have a problem with middleware

**URL:** <https://community.traefik.io/t/new-to-traefik-i-have-a-problem-with-middleware/9941>\
**Category:** Traefik v2\
**Tags:** middleware\
**Created:** [March 6, 2021, 3:23am UTC](https://community.traefik.io/t/new-to-traefik-i-have-a-problem-with-middleware/9941 "2021-03-06T03:23:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![b6ack](https://avatars.discourse-cdn.com/v4/letter/b/e480ec/32.png) [@b6ack](https://community.traefik.io/u/b6ack)\
**Post date:** [March 6, 2021, 3:23am UTC](https://community.traefik.io/t/new-to-traefik-i-have-a-problem-with-middleware/9941/1 "2021-03-06T03:23:01Z")

</div>

I am using dynamic configuration file with docker-compose.yaml file. The problem is the dashboard shows the middleware but the middleware is not connecting to localhost that I am running. I changed my token and The x-url.

 ![docker-compose-file](https://us1.discourse-cdn.com/flex020/uploads/containo/original/2X/a/a392c08a68d14c68f5fe7c43378333520c849e6d.png) ![dynamic-file](https://us1.discourse-cdn.com/flex020/uploads/containo/original/2X/e/ed06843f95d353640d9b414fdbb98fa384d923b8.png)
