Update 'CMS/nextcloud/nginx-conf.sh'
This commit is contained in:
@@ -4,7 +4,8 @@ nxtVer=18
|
||||
#Configuring nginx
|
||||
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/nextcloud/Nginx-unconfigured -O /tmp/nginx-siteconf
|
||||
sed -i -e 's/PHPver/'$phpver'/g' -e 's/DOMAINname/'$domain'/' /tmp/nginx-siteconf
|
||||
sed -i -e "0,/^#ConfHere/s/\(^#Conf.*\)/#ConfHere1 /" -e '/#ConfHere1/ r /tmp/nginx-siteconf' -e '/#ConfHere/c\' /etc/nginx/sites-enabled/"$domain"mkdir -p /var/www/"$domain"/html
|
||||
sed -i -e "0,/^#ConfHere/s/\(^#Conf.*\)/#ConfHere1 /" -e '/#ConfHere1/ r /tmp/nginx-siteconf' -e '/#ConfHere/c\' /etc/nginx/sites-enabled/"$domain"
|
||||
mkdir -p /var/www/"$domain"/html
|
||||
chown www-data:www-data -R /var/www/"$domain"/html
|
||||
|
||||
#Configuring PHP
|
||||
|
||||
Reference in New Issue
Block a user