Traefik Невозможно получить сертификат ACME - PullRequest
0 голосов
/ 20 октября 2018

Я хочу использовать treafik для моего другого веб-сайта на моем сервере, но у меня проблема с новой установкой Traefik с веб-сервером nginx.При первом запуске контейнера nginx сертификат не генерируется.

Ошибка:

time="2018-10-20T11:51:15Z" level=error msg="Unable to obtain ACME certificate for domains \"www.minenewgeneration.fr\" detected thanks to rule \"Host:www.minenewgeneration.fr\" : cannot get ACME client get directory at 'https://acme-v02.api.letsencrypt.org/directory': failed to get json \"https://acme-v02.api.letsencrypt.org/directory\": Get https://acme-v02.api.letsencrypt.org/directory: dial tcp 104.123.22.170:443: i/o timeout"

traefik.toml:

defaultEntryPoints = ["http", "https"]
[entryPoints]
  [entryPoints.http]
    address = ":80"
    [entryPoints.http.redirect]
      entryPoint = "https"
  [entryPoints.https]
    address = ":443"
    [entryPoints.https.tls]
[docker]
endpoint = "unix:///var/run/docker.sock"
domain = "minenewgeneration.fr"
watch = true
exposedbydefault = false
[acme]
email = "emilien.follonier@gmail.com"
storage = "acme.json"
entryPoint="https"
acmeLogging=true
onDemand = false
onHostRule = true
[acme.httpChallenge]
entryPoint = "http"
...