Fix Cloudflare config

This commit is contained in:
Jean Froment 2019-10-06 16:20:21 +02:00
parent 9564a70313
commit 240615651c
2 changed files with 1 additions and 16 deletions

View File

@ -7,7 +7,7 @@ services:
restart: always
networks:
- webgateway
command: --acme.email=${ACME_MAIL} --docker.domain=${TRAEFIK_DOMAIN}
command: --acme.email=${ACME_MAIL} --docker.domain=${TRAEFIK_DOMAIN} --acme.dnschallenge=true --acme.dnschallenge.provider="cloudflare" --acme.dnschallenge.delaybeforecheck=300
ports:
- "80:80"
- "443:443"

View File

@ -24,21 +24,6 @@ storage = "acme.json"
entryPoint = "https"
onHostRule = true
acmeLogging = true
[acme.dnsChallenge]
dnsProvider = "cloudflare"
delayBeforeCheck = 300
#[acme.httpChallenge]
#entryPoint = "http"
################################################################
# Web configuration backend
################################################################
[web]
address = ":8080"
################################################################
# Traefik Config
################################################################
################################################################
# Docker configuration backend