From 18e32ad54457a6ee2897221becd8672a393369a5 Mon Sep 17 00:00:00 2001 From: Mike van Riel Date: Sun, 12 Jan 2020 19:52:09 +0100 Subject: [PATCH] Ensure that the docroot always goes to /latest --- docs/.static/redirectToLatest.html | 9 +++++++++ docs/Dockerfile | 1 + 2 files changed, 10 insertions(+) create mode 100644 docs/.static/redirectToLatest.html diff --git a/docs/.static/redirectToLatest.html b/docs/.static/redirectToLatest.html new file mode 100644 index 0000000000..180c4feea2 --- /dev/null +++ b/docs/.static/redirectToLatest.html @@ -0,0 +1,9 @@ + + + + Please wait .. + + + + + diff --git a/docs/Dockerfile b/docs/Dockerfile index 5591455447..5dc15bd78a 100644 --- a/docs/Dockerfile +++ b/docs/Dockerfile @@ -20,5 +20,6 @@ RUN ln -sf /dev/stdout /var/log/nginx/access.log \ && ln -sf /dev/stderr /var/log/nginx/error.log COPY --from=build /data/html /usr/share/nginx/html/$VERSION +COPY .static/redirectToLatest.html /usr/share/nginx/html/index.html STOPSIGNAL SIGQUIT