diff --git a/CoreModules/apache/conf.sh b/CoreModules/apache/conf.sh index 5918e40..73b13e7 100644 --- a/CoreModules/apache/conf.sh +++ b/CoreModules/apache/conf.sh @@ -4,11 +4,12 @@ systemctl stop apache2 # Apache # ############## -a2enmod actions fcgid alias proxy_fcgi ssl headers +a2dismod mpm_prefork +a2enmod actions fcgid alias proxy_fcgi ssl headers http2 setenvif socache_shmcb mkdir -p /etc/apache2/snippets/ -wget -q -t7 "$repo"/raw/branch/"$branch"/CoreModules/apache/config/apache/snippets-ssl.conf -O /etc/apache2/snippets/apa-ssl.conf -wget -q -t7 "$repo"/raw/branch/"$branch"/CoreModules/apache/config/apache/custom.conf -O /etc/apache2/conf-enabled/custom.conf +wget -q -t7 "$repo"/raw/branch/"$branch"/CoreModules/apache/config/apache2/snippets-ssl.conf -O /etc/apache2/snippets/apa-ssl.conf +wget -q -t7 "$repo"/raw/branch/"$branch"/CoreModules/apache/config/apache2/conf-custom.conf -O /etc/apache2/conf-enabled/custom.conf if [ $domainwww = 1 ]; then #non-ssl