Renamed nginx-nonphp to nginx_nonphp
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/none/Nginx-unconfigured -O /tmp/nginx-siteconf
|
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/none/Nginx_nonphp-unconfigured -O /tmp/nginx-siteconf
|
||||||
sed -i -e 's/DOMAINname/'$domain'/' -e 's/SITEname/'$sitename'/' /tmp/nginx-siteconf
|
sed -i -e 's/DOMAINname/'$domain'/' -e 's/SITEname/'$sitename'/' /tmp/nginx-siteconf
|
||||||
sed -i -e "0,/^#ConfHere/s/\(^#Conf.*\)/#ConfHere1 /" -e '/#ConfHere1/ r /tmp/nginx-siteconf' -e '/#ConfHere/c\' /etc/nginx/sites-available/"$sitename"_"$site_ext"
|
sed -i -e "0,/^#ConfHere/s/\(^#Conf.*\)/#ConfHere1 /" -e '/#ConfHere1/ r /tmp/nginx-siteconf' -e '/#ConfHere/c\' /etc/nginx/sites-available/"$sitename"_"$site_ext"
|
||||||
mkdir -p /var/www/"$domain"/html
|
mkdir -p /var/www/"$domain"/html
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
if [ $IMODE = n ]; then
|
if [ $IMODE = n ]; then
|
||||||
#WebServers
|
#WebServers
|
||||||
webservers=("Nginx:" "Will install NGINX Webserver." ON)
|
webservers=("Nginx:" "Will install NGINX Webserver." ON)
|
||||||
webservers+=("Nginx-nonphp:" "Will install NGINX Webserver without php-fpm." ON)
|
webservers+=("Nginx_nonphp:" "Will install NGINX Webserver without php-fpm." ON)
|
||||||
webservers+=("Apache:" "Will install Apache Webserver." OFF)
|
webservers+=("Apache:" "Will install Apache Webserver." OFF)
|
||||||
|
|
||||||
##Nginx
|
##Nginx
|
||||||
@@ -18,9 +18,9 @@ nginxOptions=("Redis:" "Redis caching" OFF)
|
|||||||
|
|
||||||
##Nginx
|
##Nginx
|
||||||
#CMSList
|
#CMSList
|
||||||
nginx-nonphpCMSL=("None:" "A plain webserver will be setup." OFF)
|
nginx_nonphpCMSL=("None:" "A plain webserver will be setup." OFF)
|
||||||
#Options
|
#Options
|
||||||
nginx-nonphpOptions=("Redis:" "Redis caching" OFF)
|
nginx_nonphpOptions=("Redis:" "Redis caching" OFF)
|
||||||
|
|
||||||
##Apache
|
##Apache
|
||||||
#CMSList
|
#CMSList
|
||||||
@@ -33,7 +33,7 @@ apacheOptions=("Redis:" "Redis caching" OFF)
|
|||||||
fi
|
fi
|
||||||
if [ $IMODE = l ]; then
|
if [ $IMODE = l ]; then
|
||||||
#WebServers
|
#WebServers
|
||||||
webservers=("Nginx" "Nginx-nonphp" "Apache" "Quit")
|
webservers=("Nginx" "Nginx_nonphp" "Apache" "Quit")
|
||||||
|
|
||||||
##Nginx
|
##Nginx
|
||||||
#CMSList
|
#CMSList
|
||||||
@@ -43,9 +43,9 @@ nginxOptions=("Redis:")
|
|||||||
|
|
||||||
##Nginx-nonphp
|
##Nginx-nonphp
|
||||||
#CMSList
|
#CMSList
|
||||||
nginx-nonphpCMSL=("None")
|
nginx_nonphpCMSL=("None")
|
||||||
#Options
|
#Options
|
||||||
nginx-nonphpOptions=("Redis:")
|
nginx_nonphpOptions=("Redis:")
|
||||||
|
|
||||||
##Apache
|
##Apache
|
||||||
#CMSList
|
#CMSList
|
||||||
|
|||||||
Reference in New Issue
Block a user