How to properly secure Traefik with an SSL certificate behind a domain name?

I think the insecure does some special setup, try removing it. Make sure you have a valid dynamic Traefik config in /configuration/, which includes TLS.

Go into the traefik container and check that the file in /configuration/ exists and is readable. You have debug already enabled, check the logs for "error".

Here is my working docker-compose.yml example (link), you can compare it with yours.