Docker Registry Behind Traefik: Bad Certificate

Yes, you were absolutely right. I removed both environment variables as well as the following line and it works.

Thank you very much for your input!

      - "traefik.http.services.registry.loadbalancer.server.scheme=https"