Skip to content

Commit

Permalink
fix caddy config hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikvtcodes committed Dec 22, 2023
1 parent 23fbabe commit 114bf43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions docker/proxy/.env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# ACME (Let's Encrypt)
ACME_EMAIL=

# Cloudflare
CF_API_TOKEN=

Expand Down
6 changes: 3 additions & 3 deletions docker/proxy/Caddyfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
tls {
dns cloudflare {env.CF_API_TOKEN}
resolvers 1.1.1.1
{
email {env.ACME_EMAIL}
acme_dns cloudflare {env.CF_API_TOKEN}
}

servers {
Expand Down

0 comments on commit 114bf43

Please sign in to comment.