Update 'installer.sh'
This commit is contained in:
17
installer.sh
17
installer.sh
@@ -36,15 +36,19 @@ select opt in "${options[@]}"
|
|||||||
do
|
do
|
||||||
case $opt in
|
case $opt in
|
||||||
"Apache")
|
"Apache")
|
||||||
|
webserv=a
|
||||||
script=https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/Apache-Installer.sh
|
script=https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/Apache-Installer.sh
|
||||||
break;;
|
break;;
|
||||||
"Nginx proxy")
|
"Nginx proxy")
|
||||||
|
webserv=np
|
||||||
script=https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/RevProxySimple.sh
|
script=https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/RevProxySimple.sh
|
||||||
break;;
|
break;;
|
||||||
"Nginx proxy & standalone")
|
"Nginx proxy & standalone")
|
||||||
|
webserv=nps
|
||||||
script=https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/RevProxyAdvanced.sh
|
script=https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/RevProxyAdvanced.sh
|
||||||
break;;
|
break;;
|
||||||
"Nginx, PHP-FPM")
|
"Nginx, PHP-FPM")
|
||||||
|
webserv=n
|
||||||
script=https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/NGINX-Installer.sh
|
script=https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/NGINX-Installer.sh
|
||||||
break;;
|
break;;
|
||||||
"Quit")
|
"Quit")
|
||||||
@@ -64,6 +68,19 @@ while true; do
|
|||||||
esac
|
esac
|
||||||
done
|
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
|
while true; do
|
||||||
read -p "Installeer Cockpit -> yes/no?" yn
|
read -p "Installeer Cockpit -> yes/no?" yn
|
||||||
|
|||||||
Reference in New Issue
Block a user