Caddyfile: serve the repository views that live outside the generation symlink

This commit is contained in:
Archipelago 2026-11-15 23:08:21 +03:00
parent 1a654434b3
commit 04fbaee731

View file

@ -32,6 +32,13 @@
header Cache-Control "no-cache"
file_server
}
# Immutable monthly repository views. They are separate ZFS mounts inside the
# published root, so they cannot live under the generation symlink `current`.
handle_path /archipelago/arch-repo-snapshot/* {
root * /srv/artifacts/arch-repo-snapshot
header Cache-Control "no-cache"
file_server
}
handle /archipelago/releases.json {
root * /srv/artifacts/current
rewrite * /releases.json