Skip to content

How do I configure Traefik to use ACME for certificate signing? #561

Discussion options

You must be logged in to vote

Well, finally i make it works. Instead of editing the docker-compose.yml file, i makes some changes on /opt/warden/config/traefik/traefik.yml
Adding the next lines on bottom:

certificatesResolvers:
  letsencrypt:
    acme:
      email: xxxxx@gmail.com
      storage: /etc/traefik/letsencrypt-acme.json
      caServer: https://acme-v02.api.letsencrypt.org/directory
      dnsChallenge:
        provider: duckdns
        resolvers:
          - "1.1.1.1:53"
          - "8.8.8.8:53"

And adding this labels to the warden-env.yml of the project file:

      - traefik.http.routers.${WARDEN_ENV_NAME}.tls=true
      - traefik.http.routers.${WARDEN_ENV_NAME}.tls.certresolver=letsencrypt
      - traefik.h…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by navarr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #540 on December 09, 2022 16:46.