diff --git a/Apache-Installer.sh b/Apache-Installer.sh index de9bd0d..7b0cb06 100644 --- a/Apache-Installer.sh +++ b/Apache-Installer.sh @@ -38,7 +38,6 @@ EOF cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/"$domain.conf" cat < /etc/apache2/sites-available/"$domain.conf" - Protocols h2 http/1.1 #netdata here ServerAdmin $email ServerName $domain @@ -230,4 +229,5 @@ EOF # Html Folder Perms # ##-----------------------## +sed -i '3i Protocols h2 http/1.1' /etc/apache2/sites-available/ictdagbesteding.nl-le-ssl.conf chown -R www-data:www-data /var/www/"$domain"/html \ No newline at end of file