From a5c15a577a95d21c66fa8506077feadf84aee1a2 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 8 Jul 2023 12:28:27 -0700 Subject: [PATCH] Copy the HTML configuration the the container. --- Config/ReverseProxy/Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Config/ReverseProxy/Dockerfile b/Config/ReverseProxy/Dockerfile index b382c04..0f1e589 100644 --- a/Config/ReverseProxy/Dockerfile +++ b/Config/ReverseProxy/Dockerfile @@ -5,8 +5,12 @@ FROM nginx # Clear old configurations. -RUN rm -rfv /etc/nginx/conf.d/* - +RUN rm -rfv /etc/nginx/conf.d # Add all the configuration files to the environment. COPY ./config/nginx.conf /etc/nginx/nginx.conf -COPY ./config/conf.d/*.* /etc/nginx/conf.d/ +COPY ./config/conf.d /etc/nginx/conf.d + +# Clear old sites. +RUN rm -rfv /etc/nginx/html +# Add any static HTML websites. +COPY ./config/html /etc/nginx/html