added caddy provider support

This commit is contained in:
nick committed 2026-07-01 17:14:50 -07:00
1 parent 91e80ae6f8
commit 408b5d8652
6 files changed
+193 -4

No files matched your search

@@ -0,0 +1,14 @@
# {{ ansible_managed }}
#
# This file only seeds Caddy's initial configuration: the admin API listener
# that OpenTofu talks to. Reverse-proxy routes are managed by the caddy module
# via the admin API (caddy_proxies in terraform.tfvars); Caddy autosaves those
# changes and the systemd unit starts with --resume, so API-applied config
# survives restarts and this file is ignored once an autosave exists.
#
# To re-seed from this file (e.g. after changing the admin listener), delete
# /var/lib/caddy/.config/caddy/autosave.json and restart caddy.
{
admin {{ caddy_admin_listen }}
}
}