@@ -244,7 +244,7 @@ Parameters:
244
244
- " php8.3"
245
245
- " php8.4"
246
246
- " none"
247
- Default : " php8.3 "
247
+ Default : " php8.4 "
248
248
s3BucketName :
249
249
Type : String
250
250
Description : " https://console.aws.amazon.com/s3/buckets"
@@ -1645,20 +1645,19 @@ Resources:
1645
1645
1646
1646
# Redis & Memcached
1647
1647
apt-get install -q -y redis-server memcached
1648
- systemctl enable --now redis-server memcached
1648
+ systemctl enable redis-server memcached
1649
1649
1650
+ # Certbot: https://eff-certbot.readthedocs.io/en/stable/install.html#snap-recommended
1651
+ snap install --classic certbot
1652
+ ln -s /snap/bin/certbot /usr/bin/certbot
1650
1653
1651
- # Certbot
1652
- apt-get install -q -y certbot
1653
- apt-get install -q -y python3-certbot-dns-route53 python-certbot-dns-route53-doc
1654
- systemctl daemon-reload
1655
- systemctl enable certbot.timer
1654
+ snap set certbot trust-plugin-with-root=ok
1655
+ snap install certbot-dns-route53
1656
1656
1657
1657
# Web server
1658
1658
export WEB="${webOption}"
1659
1659
case $WEB in
1660
1660
Apache)
1661
- apt-get install -q -y python3-certbot-apache
1662
1661
apt-get install -q -y apache2 libapache2-mod-fcgid
1663
1662
systemctl enable apache2
1664
1663
@@ -1693,8 +1692,7 @@ Resources:
1693
1692
Nginx)
1694
1693
apt-get remove -q -y apache2
1695
1694
apt-get purge -q -y apache2
1696
- apt-get install -q -y python3-certbot-nginx
1697
- apt-get install -q -y nginx-full
1695
+ apt-get install -q -y nginx
1698
1696
systemctl enable nginx
1699
1697
1700
1698
cp /etc/nginx/sites-available/default /etc/nginx/sites-available/default."`date +"%Y-%m-%d"`"
0 commit comments