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