diff --git a/legacy/scripts/apache2.sh b/legacy/scripts/apache2.sh new file mode 100644 index 0000000..2122961 --- /dev/null +++ b/legacy/scripts/apache2.sh @@ -0,0 +1,10 @@ +#!/bin/bash +set -e + +export DEBIAN_FRONTEND=noninteractive + +apt-get update -y +apt-get upgrade -y +apt-get install -y apache2 certbot python3-certbot-apache + +certbot run -n --apache --agree-tos -d $1 -m $2 --redirect \ No newline at end of file