configuration.nix/hosts/shared/caddy-helpers.nix

14 lines
168 B
Nix
Raw Normal View History

2024-09-14 19:36:59 +05:30
{
2024-10-27 23:09:50 +05:30
logFormat = ''
2024-09-15 16:58:06 +05:30
output stderr
2024-09-14 19:36:59 +05:30
format json
2024-10-27 23:09:50 +05:30
level INFO
2024-09-14 19:36:59 +05:30
'';
2024-10-27 23:09:50 +05:30
tlsAcmeDnsChallenge = ''
tls {
dns digitalocean {env.DO_API_TOKEN}
}
'';
2024-09-14 19:36:59 +05:30
}