diff --git a/installer.sh b/installer.sh index 4bd697d..149f03d 100644 --- a/installer.sh +++ b/installer.sh @@ -36,15 +36,19 @@ select opt in "${options[@]}" do case $opt in "Apache") + webserv=a script=https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/Apache-Installer.sh break;; "Nginx proxy") + webserv=np script=https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/RevProxySimple.sh break;; "Nginx proxy & standalone") + webserv=nps script=https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/RevProxyAdvanced.sh break;; "Nginx, PHP-FPM") + webserv=n script=https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/NGINX-Installer.sh break;; "Quit") @@ -64,6 +68,19 @@ while true; do esac done +if [ $webserv = n ]; then + while true; do + read -p "Brotli Precompression > yes/no?" yn + case $yn in + [Yy]* ) brotlinginx=1 + break;; + [Nn]* ) brotlinginx=0 + break;; + * ) echo "Kies yes of no.";; + esac + done +fi + while true; do read -p "Installeer Cockpit -> yes/no?" yn