diff --git a/dietpi/dietpi-letsencrypt b/dietpi/dietpi-letsencrypt index 160defab4c..0860f2f482 100755 --- a/dietpi/dietpi-letsencrypt +++ b/dietpi/dietpi-letsencrypt @@ -57,6 +57,9 @@ # Update ServerName directive G_CONFIG_INJECT 'ServerName[[:blank:]]' " ServerName $primary_domain" /etc/apache2/sites-available/000-default.conf '^[[:blank:]]*<' + # Enable HTTP/2 + G_EXEC a2enmod http2 + # Restart Apache to apply ServerName change G_EXEC systemctl restart apache2