diff --git a/letsencrypt-nginx/Dockerfile.do b/letsencrypt-nginx/Dockerfile.do index c7ee953..4681890 100644 --- a/letsencrypt-nginx/Dockerfile.do +++ b/letsencrypt-nginx/Dockerfile.do @@ -1,3 +1,4 @@ ARG image FROM $image +COPY website /www/data COPY ./conf/do.conf /etc/nginx/user.conf.d/server._conf \ No newline at end of file diff --git a/letsencrypt-nginx/conf/do.conf b/letsencrypt-nginx/conf/do.conf index 534f00b..95829ec 100644 --- a/letsencrypt-nginx/conf/do.conf +++ b/letsencrypt-nginx/conf/do.conf @@ -115,6 +115,11 @@ chunked_transfer_encoding on; server_name ${SERVER_NAME}; + + root /www/data; + + location / { + } location ${LOCATION} { proxy_pass ${PROXY_PASS};