From 969c654a034d3237a6a71a4d8f1bd604c05ff083 Mon Sep 17 00:00:00 2001 From: Mathieu Sanchez Date: Wed, 8 May 2019 13:38:04 +0900 Subject: [PATCH] CP all script and change email certificate --- docker/install-nginx.sh | 20 ++++++++++---------- install.sh | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docker/install-nginx.sh b/docker/install-nginx.sh index 8ccf9d4..a701480 100755 --- a/docker/install-nginx.sh +++ b/docker/install-nginx.sh @@ -1,16 +1,16 @@ apt-get install -y nginx -certbot certonly --manual --preferred-challenges=dns --email mathieu.sanchez@outlook.fr -i nginx -d www.c2a-systeme.fr -certbot certonly --manual --preferred-challenges=dns --email mathieu.sanchez@outlook.fr -i nginx -d git.c2a-systeme.fr -certbot certonly --manual --preferred-challenges=dns --email mathieu.sanchez@outlook.fr -i nginx -d api.c2a-systeme.fr -certbot certonly --manual --preferred-challenges=dns --email mathieu.sanchez@outlook.fr -i nginx -d gitlab.c2a-systeme.fr -certbot certonly --manual --preferred-challenges=dns --email mathieu.sanchez@outlook.fr -i nginx -d dev.api.c2a-systeme.fr -certbot certonly --manual --preferred-challenges=dns --email mathieu.sanchez@outlook.fr -i nginx -d reports.c2a-systeme.fr -certbot certonly --manual --preferred-challenges=dns --email mathieu.sanchez@outlook.fr -i nginx -d jenkins.c2a-systeme.fr -certbot certonly --manual --preferred-challenges=dns --email mathieu.sanchez@outlook.fr -i nginx -d dev.www.c2a-systeme.fr -certbot certonly --manual --preferred-challenges=dns --email mathieu.sanchez@outlook.fr -i nginx -d portainer.c2a-systeme.fr -certbot certonly --manual --preferred-challenges=dns --email mathieu.sanchez@outlook.fr -i nginx -d dev.reports.c2a-systeme.fr +certbot certonly --manual --preferred-challenges=dns --email c2a.toulouse@gmail.com -i nginx -d www.c2a-systeme.fr +certbot certonly --manual --preferred-challenges=dns --email c2a.toulouse@gmail.com -i nginx -d git.c2a-systeme.fr +certbot certonly --manual --preferred-challenges=dns --email c2a.toulouse@gmail.com -i nginx -d api.c2a-systeme.fr +certbot certonly --manual --preferred-challenges=dns --email c2a.toulouse@gmail.com -i nginx -d gitlab.c2a-systeme.fr +certbot certonly --manual --preferred-challenges=dns --email c2a.toulouse@gmail.com -i nginx -d dev.api.c2a-systeme.fr +certbot certonly --manual --preferred-challenges=dns --email c2a.toulouse@gmail.com -i nginx -d reports.c2a-systeme.fr +certbot certonly --manual --preferred-challenges=dns --email c2a.toulouse@gmail.com -i nginx -d jenkins.c2a-systeme.fr +certbot certonly --manual --preferred-challenges=dns --email c2a.toulouse@gmail.com -i nginx -d dev.www.c2a-systeme.fr +certbot certonly --manual --preferred-challenges=dns --email c2a.toulouse@gmail.com -i nginx -d portainer.c2a-systeme.fr +certbot certonly --manual --preferred-challenges=dns --email c2a.toulouse@gmail.com -i nginx -d dev.reports.c2a-systeme.fr cp ./docker/conf/nginx.conf /etc/nginx/ cp ./docker/conf/mime.types /etc/nginx/ diff --git a/install.sh b/install.sh index 8f2a183..44ba61f 100755 --- a/install.sh +++ b/install.sh @@ -29,8 +29,8 @@ docker build -f docker/c2a-api.dockerfile -t c2a/api . # Copy script to launch APIs # Need to clone in /app/dev for dev and /app/prod for prod mkdir /root/.bin -cp docker/script/start-api-dev.sh /root/.bin -cp docker/script/start-api-prod.sh /root/.bin +cp docker/script/* /root/.bin +rm /root/.bin/start.sh # Generate SSH key of the serveur ssh-keygen -t rsa -b 4096 -C "c2a.toulouse@gmail.com"