Hi all,
Can anyone help me determine why my site is using the Traefik Default Cert? My acme.json file shows "status:valid". I can still access the site if I add the security exception in my browser.
A nearly identical configuration was working fine on my previous computer, but I migrated to a new ubuntu installation and now it seems to be failing.
Docker-compose.yaml:
services:
traefik:
image: 'traefik:v3.1'
container_name: traefik
command:
- '--api.insecure=true'
- '--api.dashboard=true'
- '--providers.docker=true'
- '--providers.docker.exposedbydefault=false'
- --providers.docker.network=proxy
- "--entrypoints.web.address=:80"
- "--entrypoints.https.address=:443"
- '--certificatesresolvers.myresolver.acme.dnschallenge=true'
- '--certificatesresolvers.myresolver.acme.dnschallenge.provider=dynu'
- '--certificatesresolvers.myresolver.acme.dnschallenge.delaybeforecheck=0'
- '--certificatesresolvers.myresolver.acme.email=****@gmail.com'
- '--certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json'
- --providers.docker.endpoint=unix:///var/run/docker.sock
#- --certificatesresolvers.myresolver.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory
ports:
- '80:80'
- '443:443'
- '8080:8080'
environment:
- DYNU_API_KEY=*****
volumes:
- './letsencrypt:/letsencrypt'
- '/var/run/docker.sock:/var/run/docker.sock'
restart: unless-stopped
networks:
- traefik