From c786d4e0ab5c3d7e61cea1c7044b339917b86ce9 Mon Sep 17 00:00:00 2001 From: FrancescoUK Date: Sat, 14 Dec 2019 17:01:04 +0000 Subject: [PATCH] Fix certbot github path (#2598) --- docker/init-letsencrypt.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/init-letsencrypt.sh b/docker/init-letsencrypt.sh index ad0019623..376766433 100644 --- a/docker/init-letsencrypt.sh +++ b/docker/init-letsencrypt.sh @@ -19,8 +19,8 @@ fi if [ ! -e "$data_path/conf/options-ssl-nginx.conf" ] || [ ! -e "$data_path/conf/ssl-dhparams.pem" ]; then echo "### Downloading recommended TLS parameters ..." mkdir -p "$data_path/conf" - curl -s https://raw.githubusercontent.com/certbot/certbot/master/certbot-nginx/certbot_nginx/options-ssl-nginx.conf > "$data_path/conf/options-ssl-nginx.conf" - curl -s https://raw.githubusercontent.com/certbot/certbot/master/certbot/ssl-dhparams.pem > "$data_path/conf/ssl-dhparams.pem" + curl -s https://github.com/certbot/certbot/blob/master/certbot-nginx/certbot_nginx/_internal/tls_configs/options-ssl-nginx.conf > "$data_path/conf/options-ssl-nginx.conf" + curl -s https://github.com/certbot/certbot/blob/master/certbot/certbot/ssl-dhparams.pem > "$data_path/conf/ssl-dhparams.pem" echo fi @@ -36,7 +36,7 @@ echo echo "### Starting nginx ..." -docker-compose up --force-recreate -d nginx +docker-compose -f ../docker-compose.yml up --force-recreate -d nginx echo echo "### Deleting dummy certificate for $domains ..."