From ad46ee4f99196948a50d40b5fe2e204381557988 Mon Sep 17 00:00:00 2001 From: bprieshof Date: Thu, 12 Dec 2019 13:11:33 +0100 Subject: [PATCH] Update 'CMS/none/nginx-conf.sh' --- CMS/none/nginx-conf.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/CMS/none/nginx-conf.sh b/CMS/none/nginx-conf.sh index b98d96c..d3c1fc1 100644 --- a/CMS/none/nginx-conf.sh +++ b/CMS/none/nginx-conf.sh @@ -3,4 +3,5 @@ sed -i -e 's/PHPver/'$phpver'/g' -e 's/DOMAINname/'$domain'/' /tmp/nginx-sitecon 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 +echo "$webserv has been succsefully installed by the Wizard" > /var/www/$domain/html/index.html systemctl reload nginx \ No newline at end of file