Added full config script
This commit is contained in:
@@ -1 +1,4 @@
|
|||||||
sed -i 's/PHPver/'$phpver'/g' /etc/nginx/sites-available/Backend
|
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/none/Nginx-unconfigured -O /tmp/nginx-backendconf
|
||||||
|
sed -i 's/PHPver/'$phpver'/g' /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
|
||||||
|
|||||||
Reference in New Issue
Block a user