Here're problems and solutions for Traefik ACME, including failing to connect to Let's Encrypt and no NS records. And there's an example of Traefik ACME configuration.
Solving the "Bad Gateway" / "Encountered error while trying to install package" / "Python.h: No such file or directory" error by using piwheels.