ansible-role-caddy/templates/Caddyfile.j2
Santeri Kainulainen a2cdabb464 Install newest Caddy version with role nvjacobo.caddy and update template and pre-generated certs
This commit will also allow Caddy to properly generate certs
with longer lifetimes than 12 hours, and by default it has been set to 1
month
2025-12-10 09:56:58 +02:00

17 lines
240 B
Django/Jinja

{
pki {
ca local {
name "My Local CA"
intermediate_lifetime 365d
}
}
http_port 8080
https_port 8443
}
localhost:8443 {
acme_server {
ca local
lifetime 30d
}
}