nix/homelab/caddy/caddyfiles/Caddyfile

17 lines
209 B
Caddyfile

localhost {
respond "Hello world!"
}
*.timo.bmrs.nl timo.bmrs.nl {
tls {
dns cloudflare {
zone_token {env.CF_ZONE_TOKEN}
api_token {env.CF_API_TOKEN}
}
resolvers 1.1.1.1
}
import routes/*
}