mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
website: serve hub as /hub
This commit is contained in:
@@ -18,6 +18,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
root * /usr/share/caddy
|
root * /usr/share/caddy
|
||||||
|
|
||||||
|
# Serve clean URLs for landing pages, e.g. /hub -> hub.html.
|
||||||
|
try_files {path}.html
|
||||||
|
|
||||||
file_server
|
file_server
|
||||||
log
|
log
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -28,4 +28,4 @@ COPY --from=prod /opt/docusaurus/build /usr/share/caddy
|
|||||||
# Copy the landing page assets.
|
# Copy the landing page assets.
|
||||||
COPY landing/images /usr/share/caddy/images
|
COPY landing/images /usr/share/caddy/images
|
||||||
COPY landing/js /usr/share/caddy/js
|
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/
|
||||||
|
|||||||
Reference in New Issue
Block a user