install-caddy.sh: symlink /etc/caddy/Caddyfile to repo + enable caddy.service on kai-server #53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-13T22:43:44Z - https://github.com/coilysiren/infrastructure/issues/140
Problem
On kai-server today:
/etc/caddy/Caddyfileis the 124-byte Debian default fromApr 12 2025, not a symlink to~/projects/coilysiren/infrastructure/caddy/Caddyfile.caddy.serviceisinactive (dead)anddisabled.Effect:
api.coilysiren.mereverse proxy, the audit dashboard on:8082, and thehttp://kai-servertailnet shortcuts (api,eco-jobs-tracker,eco-mcp,galaxy-gen, plus future #129 regens) are all not served. Pullinginfrastructureand reloading caddy is a no-op until the installed config points at the repo.Scope
New
scripts/install-caddy.sh, in the same shape asscripts/install-fdr-remake.shandscripts/install-repo-recall.sh:FORCE=1to reapply even when present.apt-get install -y caddyif missing (via the Cloudsmith repo, the standard Caddy install path on Debian/Ubuntu)./etc/caddy/Caddyfilewith a symlink to${INFRA_SRC}/caddy/Caddyfile(back up the original to/etc/caddy/Caddyfile.diston first run).caddy validate --config /etc/caddy/Caddyfilebefore enabling.systemctl enable --now caddy.service.git pull+sudo systemctl reload caddyfor future updates.api.coilysiren.me. Public DNS / cert-bot path is out of scope for this issue; this only stands up the service and tailnet-internal serves.Out of scope
api.coilysiren.me. File a follow-up if needed.Refs
caddy/sites/*.caddy)