diff --git a/Apache-Installer.sh b/Apache-Installer.sh index 09bab95..de9bd0d 100644 --- a/Apache-Installer.sh +++ b/Apache-Installer.sh @@ -3,8 +3,7 @@ ###============================================================ ## Zet comments hieronder: # -# Netdata: $domain/netata ipv $domain:1999 -# Letsencrypt: Fix (onder in file) toepassen +# # ##============================================================= @@ -39,6 +38,7 @@ 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 @@ -56,6 +56,7 @@ cat < /etc/apache2/sites-available/"$domain.conf" EOF a2ensite $domain a2dissite 000-default +a2enmod http2 a2enmod proxy a2enmod proxy_http a2enmod rewrite