about summary refs log tree commit diff
diff options
context:
space:
mode:
authoremile <hanemile@protonmail.com>2019-10-10 12:58:24 -0400
committeremile <hanemile@protonmail.com>2019-10-10 12:58:24 -0400
commit0353114e6fe7919f6f83ac3c5852b4e391235ca4 (patch)
tree395a7f6ac603c754c22d0dc4266b678d31986ae8
parentedd426a6279fdd95983156f23249ec4869c19afb (diff)
cloudflare wildcard
-rw-r--r--docker-compose.yml4
-rw-r--r--traefik_users5
2 files changed, 8 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 5b75a28..d982fd2 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -10,7 +10,9 @@ services:
             - "--providers.docker.exposedbydefault=false"
             - "--entrypoints.web.address=:80"
             - "--entrypoints.websecure.address=:443"
-            - "--certificatesresolvers.mytlschallenge.acme.tlschallenge=true"
+            - "--certificatesresolvers.mytlschallenge.acme.dnschallenge=true"
+            - "--certificatesresolvers.mytlschallenge.acme.dnschallenge.delaybeforecheck=0"
+            - "--certificatesresolvers.mytlschallenge.acme.dnschallenge.provider=cloudflare"
             - "--certificatesresolvers.mytlschallenge.acme.email=hanemile@protonmail.com"
             - "--certificatesresolvers.mytlschallenge.acme.storage=/letsencrypt/acme.json"
             - "--metrics.prometheus=true"
diff --git a/traefik_users b/traefik_users
new file mode 100644
index 0000000..140b1a5
--- /dev/null
+++ b/traefik_users
@@ -0,0 +1,5 @@
+# insert traefik users here
+#
+# Generate user:pass:
+# $ htpasswd -nb user password
+