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

10 lines
423 B
Bash
Executable File

apt-get install -y nginx
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
cp ./docker/conf/nginx.conf /etc/nginx/
cp ./docker/conf/mime.types /etc/nginx/
cp ./docker/conf/applications/* /etc/nginx/conf.d/