|
@ -64,7 +64,7 @@ function install() { |
|
|
lxc exec "$CONTAINER" -- bash <<EOF |
|
|
lxc exec "$CONTAINER" -- bash <<EOF |
|
|
set -Eeuo pipefail |
|
|
set -Eeuo pipefail |
|
|
apt-get update && apt-get dist-upgrade -y |
|
|
apt-get update && apt-get dist-upgrade -y |
|
|
apt-get install -y nginx ssl-cert libnginx-mod-http-subs-filter certbot python3-certbot-nginx |
|
|
|
|
|
|
|
|
apt-get install -y nftables nginx ssl-cert libnginx-mod-http-subs-filter certbot python3-certbot-nginx |
|
|
|
|
|
|
|
|
echo "registering with your default credential email <$credential_email>" |
|
|
echo "registering with your default credential email <$credential_email>" |
|
|
certbot register --agree-tos --email $credential_email --no-eff-email || echo "already resgistered!" |
|
|
certbot register --agree-tos --email $credential_email --no-eff-email || echo "already resgistered!" |
|
|