diff --git a/custom/proxy/90-copy-files.sh b/custom/proxy/90-copy-files.sh index 166e8d5..ccc1e40 100644 --- a/custom/proxy/90-copy-files.sh +++ b/custom/proxy/90-copy-files.sh @@ -1,4 +1,8 @@ #!/bin/sh +# copy server files cp -r /custom/vhost.d/* /etc/nginx/vhost.d -cp -r /custom/conf.d/* /etc/nginx/conf.d \ No newline at end of file +cp -r /custom/conf.d/* /etc/nginx/conf.d + +# copy error files +cp -r /custom/error_pages/* /usr/share/nginx/html \ No newline at end of file diff --git a/custom/proxy/Dockerfile b/custom/proxy/Dockerfile index 9c5f545..d8fa6de 100644 --- a/custom/proxy/Dockerfile +++ b/custom/proxy/Dockerfile @@ -9,6 +9,4 @@ 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 - -# copy error pages -COPY config/error_pages/* /usr/share/nginx/html/ \ No newline at end of file +COPY config/error_pages /custom/error_pages