mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-19 12:54:19 +01:00
nginx config scripts update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user