Update 'Apache-Installer.sh'

This commit is contained in:
tbergervoet
2018-10-16 12:19:31 +02:00
parent 500e23e6c7
commit 966a6ff228

View File

@@ -38,7 +38,6 @@ EOF
cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/"$domain.conf"
cat <<EOF > /etc/apache2/sites-available/"$domain.conf"
<VirtualHost *:80>
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