website: serve hub as /hub

This commit is contained in:
Pasha Sviderski
2026-07-09 18:56:46 +10:00
parent f8e6d1caaa
commit 0007f76d09
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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
}
+1 -1
View File
@@ -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/