mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
website: serve hub as /hub
This commit is contained in:
1 parent
f8e6d1caaa
commit
0007f76d09
2 files changed
+5
-1
No files matched your search
@@ -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