add new error.html file
This commit is contained in:
parent
b33d0b9e59
commit
fc0dc344ab
@ -8,6 +8,7 @@ RUN apk update --no-cache && \
|
|||||||
|
|
||||||
COPY setup/nginx.conf ${NGINX_DIR}/nginx.conf
|
COPY setup/nginx.conf ${NGINX_DIR}/nginx.conf
|
||||||
COPY setup/index.html /usr/share/nginx/html/index.html
|
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/
|
COPY setup/default.conf ${NGINX_DIR}/conf.d/
|
||||||
|
|
||||||
RUN mkdir -p ${NGINX_DIR}/certs
|
RUN mkdir -p ${NGINX_DIR}/certs
|
||||||
|
|||||||
12
nginx/setup/error.html
Normal file
12
nginx/setup/error.html
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Error</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Oops! Something went wrong.</h1>
|
||||||
|
<p>We're sorry, but the page you requested could not be found.</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
x
Reference in New Issue
Block a user