Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

lith webhook: install Caddyfile to /etc/caddy/ before reload

Caddy reads /etc/caddy/Caddyfile, not /opt/ac/lith/Caddyfile. Without
the cp, `systemctl reload caddy` re-reads the same stale config and the
push silently no-ops on the routing layer. deploy.fish has always done
this cp; the webhook was missing it.

Caught by the jeffrey-platter dashboard deploy: the new try_files term
landed in the repo and was pulled to lith, but Caddy never picked it
up because /etc/caddy/Caddyfile was the version from the last
deploy.fish run.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

+7 -1
+7 -1
lith/webhook.sh
··· 130 130 fi 131 131 132 132 if $NEED_CADDY_RELOAD; then 133 - log "reloading caddy..." 133 + # Caddy reads /etc/caddy/Caddyfile, not /opt/ac/lith/Caddyfile, so the 134 + # checked-out copy has to be installed before the reload — otherwise 135 + # `systemctl reload caddy` re-reads the same stale config and the change 136 + # silently no-ops. (deploy.fish does the same cp; webhook missed it.) 137 + # See: 2026-04-29 jeffrey-platter Caddy try_files fix that didn't apply. 138 + log "installing Caddyfile + reloading caddy..." 139 + cp "$REMOTE_DIR/lith/Caddyfile" /etc/caddy/Caddyfile 134 140 systemctl reload caddy 135 141 fi 136 142