Update docker-compose-command-config.yml

add optional http challenge labels
This commit is contained in:
LRVT 2024-01-29 22:07:36 +01:00 committed by GitHub
parent abd9cd44bf
commit ea8fec3c62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,6 +29,8 @@ services:
- --entrypoints.https.http.tls.domains[0].main=example.com # define main domain, change to your domain
- --entrypoints.https.http.tls.domains[0].sans=*.example.com # define sans domain, change to your domain
- --certificatesresolvers.myresolver.acme.email=myemail@domain.tld # define your email address
#- --certificatesresolvers.myresolver.acme.httpchallenge=true # use http challenge
#- --certificatesresolvers.myresolver.acme.httpchallenge.entrypoint=http # define entrypoint for http challenge
- --certificatesresolvers.myresolver.acme.dnschallenge=true # enable dns challenge to obtain wildcard certificates
- --certificatesresolvers.myresolver.acme.dnschallenge.provider=cloudflare # define provider for certificates
- --certificatesresolvers.myresolver.acme.storage=/etc/traefik/acme.json # define acme path for certificate information