traefik-training icon indicating copy to clipboard operation
traefik-training copied to clipboard

04-HTTPS-TLS - Let's Encrypt HTTP Challenge Lab

Open sw360cab opened this issue 4 years ago • 0 comments

in the traefik.http.yml file in order to get letsencrypt folder mapped correctly to local filesystem from docker compose, the certresolver section should be changed this way:

certificatesResolvers:
  myresolver:
    acme:
      email: [email protected] 
       storage: /letsencrypt/acme.json
      httpChallenge:
        entryPoint: web

storage key with value acme.json alone, would not map correctly the file.

Ref. https://doc.traefik.io/traefik/user-guides/docker-compose/acme-http/#setup

sw360cab avatar Jan 09 '21 10:01 sw360cab