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

@@ -1,5 +1,17 @@
#!/bin/bash
# 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:"
read EMAIL