diff --git a/install.sh b/install.sh index f0a1b25..a4d1c23 100755 --- a/install.sh +++ b/install.sh @@ -66,7 +66,8 @@ chown root:root /etc/apache2/mods-available/*.conf # set vhost subodmain to domain name of server, users may want to consider changing this to a custom domain. vhostdomain=`hostname -d` sed -i "s|.example.com|.$vhostdomain|g" /etc/apache2/mods-available/macro.conf -a2enmod proxy_fcgi rewrite headers expires ssl http2 remoteip macro +# a2enmod proxy_fcgi rewrite headers expires ssl http2 remoteip macro +a2enmod proxy_fcgi rewrite headers expires ssl http2 macro # # sed -i "s|CustomLog|#CustomLog|g" /etc/apache2/sites-available/000-default.conf sed -i "s|/var/www/html|/srv/www/html|g" /etc/apache2/sites-available/000-default.conf # # sed -i "s|CustomLog|#CustomLog|g" /etc/apache2/sites-available/default-ssl.conf @@ -153,8 +154,8 @@ fi # varnish apt -y install varnish -systemctl disable varnish -service varnish stop +# systemctl disable varnish +# service varnish stop cp -a etc/varnish/* /etc/varnish/ find /etc/varnish/ -type d -exec chmod 755 {} + find /etc/varnish/ -type f -exec chmod 644 {} +