Begin adding LetsEncrypt. Project runs successfully but still has a slight chicken and egg issue if certs are not copied from another server.

This commit is contained in:
2023-07-05 20:54:53 -07:00
parent bf0e25cfb0
commit bf2bcf78ea
3 changed files with 35 additions and 16 deletions

View File

@ -6,7 +6,7 @@ FROM nginx
# 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/
# Create "working" certificates for the example configuration file.
RUN mkdir -p /etc/nginx/certs/example.com