at runtime?
This commit is contained in:
parent
01539c63ea
commit
00dc612a28
2 changed files with 6 additions and 4 deletions
|
@ -1,4 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# copy server files
|
||||||
cp -r /custom/vhost.d/* /etc/nginx/vhost.d
|
cp -r /custom/vhost.d/* /etc/nginx/vhost.d
|
||||||
cp -r /custom/conf.d/* /etc/nginx/conf.d
|
cp -r /custom/conf.d/* /etc/nginx/conf.d
|
||||||
|
|
||||||
|
# copy error files
|
||||||
|
cp -r /custom/error_pages/* /usr/share/nginx/html
|
|
@ -9,6 +9,4 @@ COPY 90-copy-files.sh /docker-entrypoint.d
|
||||||
# Copy nginx files
|
# Copy nginx files
|
||||||
COPY config/vhost.d /custom/vhost.d
|
COPY config/vhost.d /custom/vhost.d
|
||||||
COPY config/conf.d /custom/conf.d
|
COPY config/conf.d /custom/conf.d
|
||||||
|
COPY config/error_pages /custom/error_pages
|
||||||
# copy error pages
|
|
||||||
COPY config/error_pages/* /usr/share/nginx/html/
|
|
||||||
|
|
Reference in a new issue