From 16608b85f066ee8e3b69e671090f8edb7ec91cc6 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Fri, 21 Aug 2020 11:41:42 +0000 Subject: [PATCH] Update 'CoreModules/apache/conf.sh' --- CoreModules/apache/conf.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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