nix/homelab/caddy/caddyfiles/Caddyfile

22 lines
341 B
Caddyfile
Raw Normal View History

2024-10-13 17:05:00 +02:00
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
}
2024-10-17 19:28:08 +02:00
forward_auth authelia:9091 {
uri /api/authz/forward-auth
copy_headers Remote-User Remote-Groups Remote-Email Remote-Name
}
2024-10-13 17:05:00 +02:00
import routes/*
}