diff --git a/renew.sh b/renew.sh new file mode 100755 index 0000000..428a39b --- /dev/null +++ b/renew.sh @@ -0,0 +1,8 @@ +#! /bin/sh + +# The aim of this script is to automatically renew the certificates installed on this machine. +# You should add a cron job to run this script and make it be executed each night. + +service nginx stop +certbot renew --quiet +service nginx start