diff --git a/custom/proxy/Dockerfile b/custom/proxy/Dockerfile index e4d5cef..4948d6b 100644 --- a/custom/proxy/Dockerfile +++ b/custom/proxy/Dockerfile @@ -1,8 +1,14 @@ FROM nginxproxy/nginx-proxy:latest +# Copy NGINX config COPY config/nginx.conf /etc/nginx/nginx.conf +# Copy docker startup script COPY 90-copy-files.sh /docker-entrypoint.d +# Copy nginx files COPY config/vhost.d /custom/vhost.d -COPY config/conf.d /custom/conf.d \ No newline at end of file +COPY config/conf.d /custom/conf.d + +# copy error pages +COPY error_pages/* /usr/share/nginx/html/ \ No newline at end of file diff --git a/custom/proxy/config/error_pages/50x.html b/custom/proxy/config/error_pages/50x.html new file mode 100644 index 0000000..30ea077 --- /dev/null +++ b/custom/proxy/config/error_pages/50x.html @@ -0,0 +1,30 @@ + +
+Sorry, something went wrong on the server.
This usually means that there is a service booting or such...
+ + \ No newline at end of file