Update 'Apache-Installer.sh'
This commit is contained in:
@@ -38,7 +38,6 @@ EOF
|
|||||||
cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/"$domain.conf"
|
cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/"$domain.conf"
|
||||||
cat <<EOF > /etc/apache2/sites-available/"$domain.conf"
|
cat <<EOF > /etc/apache2/sites-available/"$domain.conf"
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
Protocols h2 http/1.1
|
|
||||||
#netdata here
|
#netdata here
|
||||||
ServerAdmin $email
|
ServerAdmin $email
|
||||||
ServerName $domain
|
ServerName $domain
|
||||||
@@ -230,4 +229,5 @@ EOF
|
|||||||
# Html Folder Perms #
|
# 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
|
chown -R www-data:www-data /var/www/"$domain"/html
|
||||||
Reference in New Issue
Block a user