From 0600cae184ce4da38ee3c6f960a6871aa529c0c1 Mon Sep 17 00:00:00 2001 From: zzstoatzz Date: Sat, 29 Aug 2026 01:26:41 -0500 Subject: [PATCH] site: mount the strata playground at /strata/ and link it from the footer Caddy proxies /strata/* to the zat.dev/strata worker with the prefix stripped; the page uses relative urls. Deployed with just caddy + just site. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01B927dNwNKNYsbQdUoNJwHS --- deploy/site/Caddyfile | 10 ++++++++++ deploy/site/index.html | 1 + 2 files changed, 11 insertions(+) diff --git a/deploy/site/Caddyfile b/deploy/site/Caddyfile index 19be17a..70f5715 100644 --- a/deploy/site/Caddyfile +++ b/deploy/site/Caddyfile @@ -49,6 +49,16 @@ stream.89-167-122-160.sslip.io, stream.waow.tech { } } + # the archive playground: a cloudflare worker (zat.dev/strata) mounted + # under this host so the archive's site owns it. handle_path strips the + # prefix; the page uses relative urls so it needs the trailing slash. + redir /strata /strata/ permanent + handle_path /strata/* { + reverse_proxy https://strata.zat.dev { + header_up Host strata.zat.dev + } + } + root * /srv/site @home path / /index.html handle @home { diff --git a/deploy/site/index.html b/deploy/site/index.html index 66e0a72..1687f66 100644 --- a/deploy/site/index.html +++ b/deploy/site/index.html @@ -76,6 +76,7 @@ body::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none; status stats + strata grafana build source -- 2.51.2