Commit ec004267 authored by Robin Tissot's avatar Robin Tissot
Browse files

Also copy acme challenge file.

parent ed022f50
......@@ -3,10 +3,11 @@ FROM nginx:1.15.0-alpine
RUN rm /etc/nginx/conf.d/default.conf
ARG NGINX_CONF=nginx.conf
ARG ACME_FILE
ARG SSL_CERT
ARG SSL_KEY
COPY ${NGINX_CONF} /etc/nginx/conf.d/nginx.conf
COPY ${SSL_CERT} /etc/certs/cert.pem
COPY ${SSL_KEY} /etc/certs/key.pem
COPY ${ACME_FILE} /usr/share/nginx/html/
......@@ -23,6 +23,7 @@ services:
# - NGINX_CONF=ssl.conf
# - SSL_CERT=/etc/letsencrypt/live/$DOMAIN/fullchain.pem
# - SSL_KEY=/etc/letsencrypt/live/$DOMAIN/privkey.pem
# - ACME_FILE=./<some_hash>
flower:
restart: always
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment