# Uses a non-existent resolver: http

**URL:** <https://community.traefik.io/t/uses-a-non-existent-resolver-http/7509>\
**Category:** Traefik v2\
**Tags:** docker\
**Created:** [September 2, 2020, 6:04pm UTC](https://community.traefik.io/t/uses-a-non-existent-resolver-http/7509 "2020-09-02T18:04:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Koda](https://avatars.discourse-cdn.com/v4/letter/k/3bc359/32.png) [@Koda](https://community.traefik.io/u/Koda)\
**Post date:** [September 2, 2020, 6:04pm UTC](https://community.traefik.io/t/uses-a-non-existent-resolver-http/7509/1 "2020-09-02T18:04:37Z")

</div>

I just tried to install Traefik with Docker. The whole thing works so far. But I still get this error message:

> level=error msg="the router traefik-secure@docker uses a non-existent resolver: http"

My docker-compose.yml

> ```
> labels:
> - "traefik.enable=true"
> - "traefik.http.routers.traefik.entrypoints=http"
> - "traefik.http.routers.traefik.rule=Host(`traefik.test.com`)"
> - "traefik.http.routers.traefik.middlewares=traefik-https-redirect"
> - "traefik.http.middlewares.traefik-auth.basicauth.realm=Authenticate for Traefik"
> - "traefik.http.middlewares.traefik-auth.basicauth.users=user:password"
> - "traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme=https"
> - "traefik.http.routers.traefik-secure.middlewares=traefik-auth"
> - "traefik.http.routers.traefik-secure.service=api@internal"
> - "traefik.http.routers.traefik-secure.entrypoints=https"
> - "traefik.http.routers.traefik-secure.rule=Host(`traefik.test.com`)"
> - "traefik.http.routers.traefik-secure.tls=true"
> - "traefik.http.routers.traefik-secure.tls.certresolver=http"
> 
> ```

One more question. Is it better to add these "rules" to docker-compose.yml or to traefik.toml?

Many thanks for any help

Koda

---

<div class="post-metadata">

**Author:** ![cakiwi](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/cakiwi/32/3205_2.png) [@cakiwi](https://community.traefik.io/u/cakiwi)\
**Post date:** [September 2, 2020, 7:26pm UTC](https://community.traefik.io/t/uses-a-non-existent-resolver-http/7509/2 "2020-09-02T19:26:58Z")

</div>

Hi @Koda

You have do define a certificate resolver in your static configuration. Did you do that? Is it 'named' http?

[https://docs.traefik.io/https/acme/#configuration-examples](https://docs.traefik.io/https/acme/#configuration-examples)

---

<div class="post-metadata">

**Author:** ![Koda](https://avatars.discourse-cdn.com/v4/letter/k/3bc359/32.png) [@Koda](https://community.traefik.io/u/Koda)\
**Post date:** [September 3, 2020, 6:01am UTC](https://community.traefik.io/t/uses-a-non-existent-resolver-http/7509/3 "2020-09-03T06:01:03Z")

</div>

> [@cakiwi](#):
>
> You have do define a certificate resolver in your static configuration. Did you do that? Is it 'named' http?

@cakiwi  
No. That was my mistake. Thanks a lot
