Uses a non-existent resolver: http

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

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

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