Remove install letsencrypt + add install certbot + add install certificat for c2a-systeme.fr
This commit is contained in:
parent
c5b4edbe18
commit
85e558020d
@ -1,6 +1,6 @@
|
||||
apt-get install -y nginx
|
||||
|
||||
|
||||
certbot certonly --manual --preferred-challenges=dns --email c2a.toulouse@gmail.com -i nginx -d 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
|
||||
|
@ -35,8 +35,9 @@ rm /root/.bin/start.sh
|
||||
# Generate SSH key of the serveur
|
||||
ssh-keygen -t rsa -b 4096 -C "c2a.toulouse@gmail.com"
|
||||
|
||||
# Install let's encrypt
|
||||
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
|
||||
# Install certbot
|
||||
apt-get install -y certbot python-certbot-nginx
|
||||
sudo htpasswd -c /etc/nginx/.htpasswd c2a
|
||||
|
||||
# Install node and NPM
|
||||
apt-get update
|
||||
|
Loading…
Reference in New Issue
Block a user