Update 'Apache-Installer.sh'
This commit is contained in:
@@ -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 <<EOF > /etc/apache2/sites-available/"$domain.conf"
|
||||
<VirtualHost *:80>
|
||||
Protocols h2 http/1.1
|
||||
#netdata here
|
||||
ServerAdmin $email
|
||||
ServerName $domain
|
||||
@@ -56,6 +56,7 @@ cat <<EOF > /etc/apache2/sites-available/"$domain.conf"
|
||||
EOF
|
||||
a2ensite $domain
|
||||
a2dissite 000-default
|
||||
a2enmod http2
|
||||
a2enmod proxy
|
||||
a2enmod proxy_http
|
||||
a2enmod rewrite
|
||||
|
||||
Reference in New Issue
Block a user