From 04fbaee7310a8180e17485c1d4708b450bac6f79 Mon Sep 17 00:00:00 2001 From: Archipelago Date: Sun, 15 Nov 2026 23:08:21 +0300 Subject: [PATCH] Caddyfile: serve the repository views that live outside the generation symlink --- deploy/Caddyfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deploy/Caddyfile b/deploy/Caddyfile index f1c09fb..8e96e82 100644 --- a/deploy/Caddyfile +++ b/deploy/Caddyfile @@ -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