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