Skip to content

fix(setup-origin): a name's own template survives renewal - #27

Merged
ralyodio merged 1 commit into
mainfrom
fix/per-name-template
Oct 17, 2026
Merged

ralyodio merged 1 commit into
mainfrom
fix/per-name-template

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Renewal re-runs setup-origin.sh, which rewrote every site from the static webroot template. So a name served as a proxy to an app reverted at its next renewal: seo.rank is due about 2026-10-26, and live.streaming is being set up now. A template at $MOSHPIT_TEMPLATE_DIR/<name>.conf (default /etc/moshpit/templates) is now used for that name; MOSHPIT_TEMPLATE still wins when it's set. Tested with a dry run, and all 92 tests pass.

🤖 Generated with Claude Code

…it/templates/<name>.conf)

Renewal re-runs setup-origin.sh, which rewrote every site from the static
webroot template, so a name served as a proxy to an app (seo.rank, now
live.streaming) reverted at its next renewal. A template at
$MOSHPIT_TEMPLATE_DIR/<name>.conf (default /etc/moshpit/templates) is used
for that name; MOSHPIT_TEMPLATE still wins when set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

@ralyodio
ralyodio merged commit 9d332be into main Oct 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant