Browse Source

Copy dhparams if not found

andryyy 8 years ago
parent
commit
f7bce8b81a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      data/Dockerfiles/acme/docker-entrypoint.sh

+ 2 - 0
data/Dockerfiles/acme/docker-entrypoint.sh

@@ -36,6 +36,8 @@ else
 	fi
 fi
 
+[[ ! -f ${ACME_BASE}/dhparams.pem ]] && cp ${SSL_EXAMPLE}/dhparams.pem ${ACME_BASE}/dhparams.pem
+
 while true; do
 	if [[ "${SKIP_LETS_ENCRYPT}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
 		echo "SKIP_LETS_ENCRYPT=y, skipping Let's Encrypt..."