From a61057d455b3f56c74bab6ad70f3c49308956b64 Mon Sep 17 00:00:00 2001 From: Jan Funke Date: Wed, 3 Dec 2025 21:11:21 +0100 Subject: [PATCH] fix build file and caddyfile template --- Caddyfile.tmpl | 13 ++++++------- caddy.build | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Caddyfile.tmpl b/Caddyfile.tmpl index b687550..6e8779f 100644 --- a/Caddyfile.tmpl +++ b/Caddyfile.tmpl @@ -1,9 +1,8 @@ -{ - acme_dns desec { - token {env.GANDI_BEARER_TOKEN} - } - - test.com { - reverse_proxy localhost:8080 +example.com { + tls { + dns desec { + token {env.DESEC_TOKEN} + } } + reverse_proxy localhost:8080 } \ No newline at end of file diff --git a/caddy.build b/caddy.build index d58a828..97e447c 100644 --- a/caddy.build +++ b/caddy.build @@ -2,6 +2,6 @@ Description=Build caddy image with desec.io DNS plugin [Build] -File=%h/container/caddy/Containerfile +File=./Containerfile ImageTag=caddy-gandi:latest SetWorkingDirectory=unit \ No newline at end of file