From a9ad02fc442689c8f8883fe1083fdd941fe7c8f5 Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Sat, 18 Apr 2020 11:05:01 +0100 Subject: [PATCH] static website --- letsencrypt-nginx/Dockerfile.do | 1 + letsencrypt-nginx/conf/do.conf | 5 +++++ 2 files changed, 6 insertions(+) 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};