C2A-Installation-Server/docker/install-nginx.sh

18 lines
1.4 KiB
Bash
Executable File

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
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/
cp ./docker/conf/applications/* /etc/nginx/conf.d/