From c791cbffc98484663c3819e0eabfe1170fb0833e Mon Sep 17 00:00:00 2001 From: Mathieu Sanchez Date: Mon, 8 Apr 2019 12:29:54 +0900 Subject: [PATCH] Correction letsencrypt + add acme auto agree --- docker/install-nginx.sh | 4 ++-- install.sh | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/docker/install-nginx.sh b/docker/install-nginx.sh index 1649c58..25249a9 100755 --- a/docker/install-nginx.sh +++ b/docker/install-nginx.sh @@ -1,8 +1,8 @@ apt-get install -y nginx /opt/letsencrypt/letsencrypt-auto --email mathieu.sanchez@outlook.fr --agree-tos certonly --nginx -d gitlab.teksatcau.fr -/opt/letsencrypt/letsencrypt-auto --email mathieu.sanchez@outlook.fr certonly --nginx -d jenkins.teksatcau.fr -/opt/letsencrypt/letsencrypt-auto --email mathieu.sanchez@outlook.fr certonly --nginx -d portainer.teksatcau.fr +/opt/letsencrypt/letsencrypt-auto --email mathieu.sanchez@outlook.fr --agree-tos certonly --nginx -d jenkins.teksatcau.fr +/opt/letsencrypt/letsencrypt-auto --email mathieu.sanchez@outlook.fr --agree-tos certonly --nginx -d portainer.teksatcau.fr cp ./docker/conf/nginx.conf /etc/nginx/ cp ./docker/conf/mime.types /etc/nginx/ diff --git a/install.sh b/install.sh index 126ff1f..12a019b 100755 --- a/install.sh +++ b/install.sh @@ -33,7 +33,3 @@ git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt ./docker/install-mongo.sh service nginx restart - -letsencrypt --email mathieu.sanchez@outlook.fr certonly --nginx -d gitlab.teksatcau.fr -letsencrypt --email mathieu.sanchez@outlook.fr certonly --nginx -d jenkins.teksatcau.fr -letsencrypt --email mathieu.sanchez@outlook.fr certonly --nginx -d portainer.teksatcau.fr