diff --git a/nginx/Dockerfile b/nginx/Dockerfile index eda7994e..e69cfc69 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -8,6 +8,7 @@ RUN apk update --no-cache && \ COPY setup/nginx.conf ${NGINX_DIR}/nginx.conf COPY setup/index.html /usr/share/nginx/html/index.html +COPY setup/error.html /usr/share/nginx/html/error.html COPY setup/default.conf ${NGINX_DIR}/conf.d/ RUN mkdir -p ${NGINX_DIR}/certs @@ -20,4 +21,4 @@ ENTRYPOINT \ -keyout ${NGINX_DIR}/certs/ckan-local.key \ -out ${NGINX_DIR}/certs/ckan-local.crt \ -days 365 && \ - nginx -g 'daemon off;' \ No newline at end of file + nginx -g 'daemon off;' diff --git a/nginx/setup/error.html b/nginx/setup/error.html new file mode 100644 index 00000000..29fd8c2d --- /dev/null +++ b/nginx/setup/error.html @@ -0,0 +1,12 @@ + + +
+ + +We're sorry, but the page you requested could not be found.
+ +