diff --git a/CMS/Backend/nginx-conf.sh b/CMS/Backend/nginx-conf.sh index 37722fa..71033ca 100644 --- a/CMS/Backend/nginx-conf.sh +++ b/CMS/Backend/nginx-conf.sh @@ -1,4 +1,4 @@ -wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/none/Nginx-unconfigured -O /tmp/nginx-backendconf +wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/Backend/nginx-siteBackend-unconfigured -O /tmp/nginx-backendconf sed -i 's/PHPver/'$phpver'/g' -e 's/DOMAINname/'$hostname'/' /tmp/nginx-backendconf sed -i -e "0,/^#ConfHere/s/\(^#Conf.*\)/#ConfHere1 /" -e '/#ConfHere1/ r /tmp/nginx-backendconf' -e '/#ConfHere/c\' /etc/nginx/sites-enabled/Backend systemctl reload nginx