initial commit
This commit is contained in:
commit
bcd52055e7
7 changed files with 117 additions and 0 deletions
9
install-nginx.sh
Normal file
9
install-nginx.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# setup nginx
|
||||
apt install nginx -y
|
||||
|
||||
# setup certbot
|
||||
add-apt-repository ppa:certbot/certbot -y
|
||||
apt update -y
|
||||
apt install python-certbot-nginx -y
|
||||
crontab -l | { cat; echo "0 12 * * * /usr/bin/certbot renew --quiet"; } | crontab -
|
||||
echo "done!"
|
||||
Loading…
Add table
Add a link
Reference in a new issue