Update 'installer.sh'

This commit is contained in:
bprieshof
2019-01-24 12:01:58 +01:00
parent 6a502dffe2
commit ad4c180e51

View File

@@ -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