feature(entrypoint): generate missing dhparam file if needed

This commit is contained in:
2021-07-25 16:00:16 -06:00
parent 8890e662b0
commit 4ded854631
2 changed files with 16 additions and 2 deletions
+3 -1
View File
@@ -22,7 +22,9 @@ RUN addgroup --gid ${GID} www-docker \
www-docker
# add libcap, allow nginx to bind to ports <1024, extract fun error pages & create LetsEncrypt challenge directory outside webroot
RUN apk --no-cache add libcap \
RUN apk --update --no-cache add \
libcap \
openssl \
&& setcap 'cap_net_bind_service=+ep' /usr/sbin/nginx \
&& cd /usr/share/nginx \
&& rm -rf html/* \