From 0007f76d0956ba0095f2c27d97d5e055fdad01e3 Mon Sep 17 00:00:00 2001 From: Pasha Sviderski Date: Thu, 9 Jul 2026 16:22:20 +1000 Subject: [PATCH] website: serve hub as /hub --- website/Caddyfile | 4 ++++ website/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/website/Caddyfile b/website/Caddyfile index b8e05f69..48696fc9 100644 --- a/website/Caddyfile +++ b/website/Caddyfile @@ -18,6 +18,10 @@ } root * /usr/share/caddy + + # Serve clean URLs for landing pages, e.g. /hub -> hub.html. + try_files {path}.html + file_server log } diff --git a/website/Dockerfile b/website/Dockerfile index 469d2850..ca2fd98d 100644 --- a/website/Dockerfile +++ b/website/Dockerfile @@ -28,4 +28,4 @@ COPY --from=prod /opt/docusaurus/build /usr/share/caddy # Copy the landing page assets. COPY landing/images /usr/share/caddy/images COPY landing/js /usr/share/caddy/js -COPY landing/index.html landing/style.css /usr/share/caddy/ +COPY landing/index.html landing/hub.html landing/style.css /usr/share/caddy/