No description
- HCL 100%
Replaces the hand-written git/s3/vault vhost blocks with a single import of /etc/caddy/Caddyfile.dynamic, which consul-template renders from the home Consul catalog over Tailscale MagicDNS (`http://nixos:8500`). Each public service registers in Consul with a `meta.public_hostnames` field — the relay picks it up and emits a reverse_proxy block automatically, with correct SNI for the home Caddy. cloud-init only runs on first boot, so applied to the existing relay-3 manually via SSH. Future re-provisions get it baked in. TODO: pull Consul addr from Vault once AppRole is wired up on the relay. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| terraform | ||
| .gitignore | ||