traefik / traefik-library-image

Used to build Official Docker image of Traefik Proxy

Home Page:https://store.docker.com/images/traefik

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

letsencrypt issue

dio99 opened this issue · comments

when using letsewncrypt it wont/cant create cert :( not sure whats the issue is, changed in log real fqdn and email

traefik | time="2023-11-06T17:42:07Z" level=error msg="Unable to obtain ACME certificate for domains "host.nu": unable to generate a certificate for the domains [host.nu]: error: one or more domains had a problem:\n[host.nu] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: 1.1.1.1: Invalid response from http://host.nu/.well-known/acme-challenge/YWAFb8O94m8gTafzaNobmgEs-yf0SuvTFOvIABqzfug: 404\n" providerName=le.acme ACME CA="https://acme-v02.api.letsencrypt.org/directory" routerName=nightscout@docker rule="Host(host.nu)

traefik:
image: traefik:latest
container_name: 'traefik'
command:

  • '--providers.docker=true'
  • '--providers.docker.exposedbydefault=false'
  • '--entrypoints.web.address=:80'
  • '--entrypoints.web.http.redirections.entrypoint.to=websecure'
  • '--entrypoints.websecure.address=:443'
  • "--certificatesresolvers.le.acme.httpchallenge=true"
  • "--certificatesresolvers.le.acme.httpchallenge.entrypoint=web"
  • '--certificatesresolvers.le.acme.storage=/letsencrypt/acme.json'

Change the below to match your email address

Hello,

To keep the repository focused, we ask that all questions be asked in the community forum. It is pretty active, so you might find that your question has already been answered there.
If not, you can ask and get help from other community members pretty quickly.