nginx config scripts update

This commit is contained in:
openoms
2024-08-29 16:10:31 +02:00
parent a6a64ea590
commit d654f2e88e
7 changed files with 98 additions and 24 deletions

View File

@@ -3,6 +3,18 @@
# WORK IN PROGRESS
# see https://gist.github.com/NicolasDorier/1a7fce6836ee55a7fa2c7f65417b88b5
# check for certbot and nginx
if dpkg -l | grep -qw "certbot"; then
echo "# certbot is already installed"
else
sudo apt install -y certbot
fi
if dpkg -l | grep -qw "nginx"; then
echo "# nginx is already installed"
else
sudo apt install -y nginx
fi
echo "
Input your email:
"