Renamed nginx-nonphp to nginx_nonphp

This commit is contained in:
2020-09-03 15:03:04 +02:00
parent 7f6c006d2c
commit c950ddbf34
8 changed files with 7 additions and 7 deletions

View File

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

View File

@@ -5,7 +5,7 @@
if [ $IMODE = n ]; then
#WebServers
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)
##Nginx
@@ -18,9 +18,9 @@ nginxOptions=("Redis:" "Redis caching" OFF)
##Nginx
#CMSList
nginx-nonphpCMSL=("None:" "A plain webserver will be setup." OFF)
nginx_nonphpCMSL=("None:" "A plain webserver will be setup." OFF)
#Options
nginx-nonphpOptions=("Redis:" "Redis caching" OFF)
nginx_nonphpOptions=("Redis:" "Redis caching" OFF)
##Apache
#CMSList
@@ -33,7 +33,7 @@ apacheOptions=("Redis:" "Redis caching" OFF)
fi
if [ $IMODE = l ]; then
#WebServers
webservers=("Nginx" "Nginx-nonphp" "Apache" "Quit")
webservers=("Nginx" "Nginx_nonphp" "Apache" "Quit")
##Nginx
#CMSList
@@ -43,9 +43,9 @@ nginxOptions=("Redis:")
##Nginx-nonphp
#CMSList
nginx-nonphpCMSL=("None")
nginx_nonphpCMSL=("None")
#Options
nginx-nonphpOptions=("Redis:")
nginx_nonphpOptions=("Redis:")
##Apache
#CMSList