traefik-training
traefik-training copied to clipboard
04-HTTPS-TLS - Let's Encrypt HTTP Challenge Lab
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