forked from coop-cloud/traefik
add support for Let's Encrypt DNS-01 challenge (for wildcard domains)
start with support for OVH provider, but in a way for others to be added in the future: https://doc.traefik.io/traefik/https/acme/#dnschallenge
This commit is contained in:
@ -21,6 +21,14 @@ services:
|
||||
environment:
|
||||
- DASHBOARD_ENABLED
|
||||
- LOG_LEVEL
|
||||
{{ if eq (env "LETS_ENCRYPT_DNS_CHALLENGE_ENABLED") "1" }}
|
||||
{{ if eq (env "LETS_ENCRYPT_DNS_CHALLENGE_PROVIDER") "ovh" }}
|
||||
- OVH_APPLICATION_KEY
|
||||
- OVH_APPLICATION_SECRET
|
||||
- OVH_CONSUMER_KEY
|
||||
- OVH_ENDPOINT
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
healthcheck:
|
||||
test: ["CMD", "traefik", "healthcheck"]
|
||||
interval: 30s
|
||||
|
Reference in New Issue
Block a user